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 39084364.0 Ops/sec
Lodash find 2801549.0 Ops/sec
Lodash some 6688941.5 Ops/sec
Native some 33072512.0 Ops/sec
Native find index 51767332.0 Ops/sec
Complex 14003872.0 Ops/sec
Lodash find index 6859166.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