Script Preparation code:
  • indexOf

  • map with forEach

  • map with loop

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    map with forEach
    map with loop

    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: 5 years ago)
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:50.0) Gecko/20100101 Firefox/50.0
Firefox 50 on Windows 7
View result in a separate tab
Test name Executions per second
indexOf 60637.6 Ops/sec
map with forEach 3073.0 Ops/sec
map with loop 2534.5 Ops/sec