Script Preparation code:
Tests:

Historical Performance Data aggregated from 5 community runs

Desktop Results:
Chrome 5 runs
IF Logic
3.6M/s
Ternary Logic
3.6M/s
AND Logic
3.6M/s
View exact numbers
  • IF Logic: 3,579,311 ops/sec
  • Ternary Logic: 3,565,430 ops/sec
  • AND Logic: 3,550,078 ops/sec

Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    IF Logic
    Ternary Logic
    AND Logic

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:138.0) Gecko/20100101 Firefox/138.0
Firefox 138 on Windows
View result in a separate tab
IF Logic
757.9M/s
Ternary Logic
674.2M/s
AND Logic
524.5M/s
View exact numbers
Test name Executions per second
IF Logic 757,945,280 Ops/sec
Ternary Logic 674,196,928 Ops/sec
AND Logic 524,534,912 Ops/sec