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 3916692.0 Ops/sec
Lodash find 1302125.4 Ops/sec
Lodash some 1322445.4 Ops/sec
Native some 4013869.5 Ops/sec
Native find index 4093965.5 Ops/sec
Complex 1592776.4 Ops/sec
Lodash find index 1053278.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Native find

  • Lodash find

  • Lodash some

  • Native some

  • Native find index

  • Complex

  • Lodash find index