Script Preparation code:
Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Ternary with true condition
    Ternary with false condition
    && with true condition
    && with false condition

    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_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36
Chrome 132 on Mac OS X 10.15.7
View result in a separate tab
&& with false condition
23.1M/s
Ternary with false condition
23.1M/s
&& with true condition
23.0M/s
Ternary with true condition
22.9M/s
View exact numbers
Test name Executions per second
&& with false condition 23,103,980 Ops/sec
Ternary with false condition 23,060,302 Ops/sec
&& with true condition 23,032,526 Ops/sec
Ternary with true condition 22,910,836 Ops/sec