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

  • Ternary

  • if

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Math.min/max
    Ternary
    if

    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: one year ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36
Chrome 104 on Linux
View result in a separate tab
Test name Executions per second
Math.min/max 302.5 Ops/sec
Ternary 371.1 Ops/sec
if 759.7 Ops/sec