Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36
Chrome 68
Linux
Desktop
6 years ago
Test name Executions per second
Native find 6006973.5 Ops/sec
Lodash find 1055705.4 Ops/sec
Lodash some 1368277.1 Ops/sec
Native some 5930213.0 Ops/sec
Native find index 6009791.0 Ops/sec
Complex 2766716.8 Ops/sec
Lodash find index 1382361.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