Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.55 Safari/537.36
Chrome 96
Mac OS X 10.15.7
Desktop
3 years ago
Test name Executions per second
Native find 12997086.0 Ops/sec
Lodash find 3831381.0 Ops/sec
Lodash some 3767973.5 Ops/sec
Native some 13054612.0 Ops/sec
Native find index 13025844.0 Ops/sec
Complex 6099340.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Native find

  • Lodash find

  • Lodash some

  • Native some

  • Native find index

  • Complex