HTML Preparation code:
Script Preparation code:
Tests:
  • Reduce with empty erray

  • Reduce with filled array

  • Reduce with filled array with null

  • Reduce with new Array

  • Reduce with var

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Reduce with empty erray
    Reduce with filled array
    Reduce with filled array with null
    Reduce with new Array
    Reduce with var

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 28 days ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:131.0) Gecko/20100101 Firefox/131.0
Firefox 131 on Mac OS X 10.15
View result in a separate tab
Test name Executions per second
Reduce with empty erray 7457.4 Ops/sec
Reduce with filled array 8106.3 Ops/sec
Reduce with filled array with null 6770.7 Ops/sec
Reduce with new Array 6544.4 Ops/sec
Reduce with var 7601.0 Ops/sec