Script Preparation code:
Tests:
  • fromArray()

  • mapArray()

  • forLoop()

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    fromArray()
    mapArray()
    forLoop()

    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: 13 days ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36
Chrome 89 on Mac OS X 10.14.6
View result in a separate tab
Test name Executions per second
fromArray() 32226.5 Ops/sec
mapArray() 267767.0 Ops/sec
forLoop() 221406.1 Ops/sec