Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0
Firefox 61
Windows 7
Desktop
6 years ago
Test name Executions per second
Native find 57186868.0 Ops/sec
Lodash find 3376863.8 Ops/sec
Lodash some 8732072.0 Ops/sec
Native some 36493792.0 Ops/sec
Native find index 38075476.0 Ops/sec
Complex 17848674.0 Ops/sec
Lodash find index 11107637.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