Script Preparation code:
Tests:
  • map() and push() to new array

  • filter() and map() chain

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    map() and push() to new array
    filter() and map() chain

    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: 9 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/116.0
Firefox 116 on Mac OS X 10.15
View result in a separate tab
Test name Executions per second
map() and push() to new array 3036081.0 Ops/sec
filter() and map() chain 2337059.0 Ops/sec