Script Preparation code:
Tests:
  • map indexof

  • custom func

  • findIndex

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    map indexof
    custom func
    findIndex

    Fastest: N/A

    Slowest: N/A

Get performance results from real users on your website with Request Metrics.
Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:105.0) Gecko/20100101 Firefox/105.0
Firefox 105 on Windows
View result in a separate tab
Test name Executions per second
map indexof 9791.4 Ops/sec
custom func 101391.7 Ops/sec
findIndex 28683.1 Ops/sec