Script Preparation code:
Tests:
  • Object Iteration

  • Array Iteration

  • Map Iteration

  • Map Iteration (keys)

  • Map Iteration (values)

  • Set Iteration

  • Map Iteration (entries)

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Object Iteration
    Array Iteration
    Map Iteration
    Map Iteration (keys)
    Map Iteration (values)
    Set Iteration
    Map Iteration (entries)

    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: 6 days ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36
Chrome 126 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
Object Iteration 3228476.0 Ops/sec
Array Iteration 34546250.0 Ops/sec
Map Iteration 22484020.0 Ops/sec
Map Iteration (keys) 26754880.0 Ops/sec
Map Iteration (values) 26626610.0 Ops/sec
Set Iteration 26789470.0 Ops/sec
Map Iteration (entries) 22550250.0 Ops/sec