Script Preparation code:
Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    findIndex, splice
    filter
    indexOf, splice
    indexOf, splice, check
    for, splice

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
Chrome 146 on Windows
View result in a separate tab
indexOf, splice
217K/s
indexOf, splice, check
212K/s
findIndex, splice
189K/s
filter
174K/s
for, splice
132K/s
View exact numbers
Test name Executions per second
indexOf, splice 216,826 Ops/sec
indexOf, splice, check 211,795 Ops/sec
findIndex, splice 189,296 Ops/sec
filter 174,215 Ops/sec
for, splice 131,508 Ops/sec