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: 2 years ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36
Chrome 97 on Linux
View result in a separate tab
Test name Executions per second
fromArray() 11325.7 Ops/sec
mapArray() 105340.8 Ops/sec
forLoop() 75031.1 Ops/sec