Script Preparation code:
Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Early Return
    Compute Offset in Array
    Math Min and Max Functions
    Ternary Operators
    If...else
    Pure Arithmetic

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:140.0) Gecko/20100101 Firefox/140.0
Firefox 140 on Mac OS X 10.15
View result in a separate tab
Pure Arithmetic
794K/s
Ternary Operators
687K/s
If...else
684K/s
Early Return
107K/s
Compute Offset in Array
92K/s
Math Min and Max Functions
45K/s
View exact numbers
Test name Executions per second
Pure Arithmetic 793,983 Ops/sec
Ternary Operators 687,135 Ops/sec
If...else 683,892 Ops/sec
Early Return 107,381 Ops/sec
Compute Offset in Array 91,905 Ops/sec
Math Min and Max Functions 44,964 Ops/sec