Script Preparation code:
Tests:
  • Map

  • For Loop

  • For Loop -- Cached array length

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Map
    For Loop
    For Loop -- Cached array length

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 7 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Firefox/52.0
Firefox 52 on Mac OS X 10.12
View result in a separate tab
Test name Executions per second
Map 164.2 Ops/sec
For Loop 85.8 Ops/sec
For Loop -- Cached array length 120.9 Ops/sec