Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36
Chrome 68
Windows 7
Desktop
6 years ago
Test name Executions per second
Native find 7793827.0 Ops/sec
Lodash find 2071914.8 Ops/sec
Lodash some 1983658.0 Ops/sec
Native some 7911133.0 Ops/sec
Native find index 5688002.0 Ops/sec
Complex 3102548.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Native find

  • Lodash find

  • Lodash some

  • Native some

  • Native find index

  • Complex