Script Preparation code:
Tests:
  • Spread operator

  • Array.prototype.reduce()

  • Array.prototype.reduce() without arrow function

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Spread operator
    Array.prototype.reduce()
    Array.prototype.reduce() without 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: 3 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:81.0) Gecko/20100101 Firefox/81.0
Firefox 81 on Mac OS X 10.15
View result in a separate tab
Test name Executions per second
Spread operator 3232565.0 Ops/sec
Array.prototype.reduce() 4160279.0 Ops/sec
Array.prototype.reduce() without arrow function 324410.2 Ops/sec