Script Preparation code:
Tests:
  • Math.abs access

  • abs function

  • compare

  • bitshift

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Math.abs access
    abs function
    compare
    bitshift

    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: 25 days ago)
Mozilla/5.0 (X11; CrOS x86_64 14816.64.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36
Chrome 103 on Chrome OS 14816.64.0
View result in a separate tab
Test name Executions per second
Math.abs access 907622.7 Ops/sec
abs function 1635272.0 Ops/sec
compare 1669789.0 Ops/sec
bitshift 1135746.0 Ops/sec