Script Preparation code:
Tests:
  • Math.min/max with spread

  • forEach

  • Reducer

  • forEach with hasValidValues in loop

  • apply

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Math.min/max with spread
    forEach
    Reducer
    forEach with hasValidValues in loop
    apply

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 5 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0
Firefox 133 on Windows
View result in a separate tab
Test name Executions per second
Math.min/max with spread 584868.8 Ops/sec
forEach 1667455.8 Ops/sec
Reducer 1818343.2 Ops/sec
forEach with hasValidValues in loop 1026389.4 Ops/sec
apply 687929.1 Ops/sec