Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36
Chrome 77
Linux
Desktop
4 years ago
Test name Executions per second
Native find 11328210.0 Ops/sec
Lodash find 2054333.0 Ops/sec
Lodash some 2595024.0 Ops/sec
Native some 11346750.0 Ops/sec
Native find index 11345960.0 Ops/sec
Complex 5132003.0 Ops/sec
Lodash find index 2693133.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Native find

  • Lodash find

  • Lodash some

  • Native some

  • Native find index

  • Complex

  • Lodash find index