Tests:
  • for loop

  • map

  • map with arrow function

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    for loop
    map
    map with arrow function

    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 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Chrome 67 on Mac OS X 10.13.3
View result in a separate tab
Test name Executions per second
for loop 30099230.0 Ops/sec
map 13161300.0 Ops/sec
map with arrow function 13115430.0 Ops/sec