Script Preparation code:
Tests:
  • if

  • ternary

  • multiply

  • multiply const

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    if
    ternary
    multiply
    multiply const

    Fastest: N/A

    Slowest: N/A

Get performance results from real users on your website with Request Metrics.
Latest run results:
Run details: (Test run date: 8 months ago)
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Mobile Safari/537.36
Chrome Mobile 116 on Android
View result in a separate tab
Test name Executions per second
if 503232000.0 Ops/sec
ternary 502493100.0 Ops/sec
multiply 489759300.0 Ops/sec
multiply const 500362000.0 Ops/sec