HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 84 community runs

Desktop Results:
Chrome 74 runs
Native findIndex
24.9M/s
_.findIndex
9.2M/s

Fastest: Native findIndex (2.7x faster)

View exact numbers
  • Native findIndex: 24,894,440 ops/sec
  • _.findIndex: 9,211,330 ops/sec
Firefox 10 runs
Native findIndex
151.4M/s
_.findIndex
25.6M/s

Fastest: Native findIndex (5.9x faster)

View exact numbers
  • Native findIndex: 151,373,360 ops/sec
  • _.findIndex: 25,563,256 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

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 5 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36
Chrome 145 on Windows
View result in a separate tab
Native findIndex
136.7M/s
_.findIndex
98.3M/s
View exact numbers
Test name Executions per second
Native findIndex 136,697,792 Ops/sec
_.findIndex 98,273,536 Ops/sec