Script Preparation code:
Tests:
  • indexOf

  • map with forEach

  • map with loop

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

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

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 7 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


;