HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 6 community runs

Desktop Results:
Chrome 6 runs
lodash indexOf
88.5M/s
find
86.9M/s
indexOf
83.8M/s
includes
80.7M/s
lodash includes
24.2M/s
lodash find
22.2M/s

Fastest: lodash indexOf (4.0x faster)

View exact numbers
  • lodash indexOf: 88,538,400 ops/sec
  • find: 86,923,200 ops/sec
  • indexOf: 83,833,312 ops/sec
  • includes: 80,703,024 ops/sec
  • lodash includes: 24,164,562 ops/sec
  • lodash find: 22,230,388 ops/sec

Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    includes
    find
    indexOf
    lodash includes
    lodash find
    lodash indexOf
    map React.createElement
    lodash map React.createElement
    map sum
    lodash map sum

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 5 months ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36
Chrome 144 on Linux
View result in a separate tab
lodash indexOf
86.6M/s
indexOf
82.2M/s
find
60.4M/s
includes
45.8M/s
lodash map sum
29.3M/s
lodash includes
21.5M/s
lodash find
21.1M/s
map sum
18.8M/s
map React.createElement
18.0M/s
lodash map React.createElement
17.5M/s
View exact numbers
Test name Executions per second
lodash indexOf 86,587,864 Ops/sec
indexOf 82,249,984 Ops/sec
find 60,437,116 Ops/sec
includes 45,763,860 Ops/sec
lodash map sum 29,307,234 Ops/sec
lodash includes 21,514,052 Ops/sec
lodash find 21,132,472 Ops/sec
map sum 18,816,044 Ops/sec
map React.createElement 18,041,458 Ops/sec
lodash map React.createElement 17,492,502 Ops/sec