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 3363943.2 Ops/sec
Lodash find 379688.0 Ops/sec
Lodash some 607751.9 Ops/sec
Native some 3765025.5 Ops/sec
Native find index 3790078.2 Ops/sec
Complex 930575.4 Ops/sec
Lodash find index 581448.6 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Native find

  • Lodash find

  • Lodash some

  • Native some

  • Native find index

  • Complex

  • Lodash find index


;