HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 7 community runs

Desktop Results:
Chrome 7 runs
Native findIndex
13.7M/s
_.findIndex
6.9M/s
_.find
6.0M/s

Fastest: Native findIndex (2.3x faster)

View exact numbers
  • Native findIndex: 13,670,815 ops/sec
  • _.findIndex: 6,891,520 ops/sec
  • _.find: 6,037,983 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
    Native findIndex
    _.findIndex
    _.find

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (iPhone; CPU iPhone OS 18_5_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/137.0.7151.79 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 137 on iOS 18.5.0
View result in a separate tab
Native findIndex
108.3M/s
_.findIndex
97.7M/s
_.find
43.9M/s
View exact numbers
Test name Executions per second
Native findIndex 108,302,648 Ops/sec
_.findIndex 97,690,832 Ops/sec
_.find 43,925,340 Ops/sec