Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
Chrome 129
Windows
Desktop
2 months ago
Test name Executions per second
find index lodash n = 1000 1050718.9 Ops/sec
find index lodash n = 10000 161679.5 Ops/sec
find index lodash n = 100000 22457.9 Ops/sec
find index lodash n = 1000000 270.9 Ops/sec
find index lodash n = 10000000 63.1 Ops/sec
find index js n = 1000 1924279.2 Ops/sec
find index js n = 10000 50135.3 Ops/sec
find index js n = 100000 2146.3 Ops/sec
find index js n = 1000000 137.8 Ops/sec
find index js n = 10000000 53.9 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • find index lodash n = 1000

  • find index lodash n = 10000

  • find index lodash n = 100000

  • find index lodash n = 1000000

  • find index lodash n = 10000000

  • find index js n = 1000

  • find index js n = 10000

  • find index js n = 100000

  • find index js n = 1000000

  • find index js n = 10000000