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 1733127.0 Ops/sec
Lodash find 498605.7 Ops/sec
Lodash some 574283.6 Ops/sec
Native some 3722252.0 Ops/sec
Native find index 3754786.0 Ops/sec
Complex 785158.0 Ops/sec
Lodash find index 585791.7 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Native find

  • Lodash find

  • Lodash some

  • Native some

  • Native find index

  • Complex

  • Lodash find index


;