Script Preparation code:
Tests:
  • Array.from

  • forEach

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Array.from
    forEach

    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: 10 months ago)
Mozilla/5.0 (Linux; Android 12) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Mobile Safari/537.36
Chrome Mobile 114 on Android
View result in a separate tab
Test name Executions per second
Array.from 896642.0 Ops/sec
forEach 65243.5 Ops/sec