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
5 years ago
Test name Executions per second
Native find 11328206.0 Ops/sec
Lodash find 2054333.4 Ops/sec
Lodash some 2595023.5 Ops/sec
Native some 11346746.0 Ops/sec
Native find index 11345956.0 Ops/sec
Complex 5132002.5 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