Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.80 Safari/537.36
Chrome 71
Windows
Desktop
5 years ago
Test name Executions per second
Native find 3043950.0 Ops/sec
Lodash find 492733.3 Ops/sec
Lodash some 590762.8 Ops/sec
Native some 3574018.0 Ops/sec
Native find index 3460074.0 Ops/sec
Complex 635088.3 Ops/sec
Lodash find index 377546.9 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Native find

  • Lodash find

  • Lodash some

  • Native some

  • Native find index

  • Complex

  • Lodash find index