Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.81 Safari/537.36
Chrome 69
Linux
Desktop
5 years ago
Test name Executions per second
Native find 3505366.0 Ops/sec
Lodash find 429034.2 Ops/sec
Lodash some 483272.8 Ops/sec
Native some 2916364.0 Ops/sec
Native find index 3438737.0 Ops/sec
Complex 851436.0 Ops/sec
Lodash find index 485549.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Native find

  • Lodash find

  • Lodash some

  • Native some

  • Native find index

  • Complex

  • Lodash find index