Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
Chrome 69
Windows 7
Desktop
6 years ago
Test name Executions per second
Native find 5683296.0 Ops/sec
Lodash find 1523646.9 Ops/sec
Lodash some 1388653.6 Ops/sec
Native some 5802311.5 Ops/sec
Native find index 5628763.0 Ops/sec
Complex 2721146.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Native find

  • Lodash find

  • Lodash some

  • Native some

  • Native find index

  • Complex