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

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36
Chrome 135 on Windows
View result in a separate tab
Test name Executions per second
Math.abs access 39657148.0 Ops/sec
abs function 40623152.0 Ops/sec
compare 36850772.0 Ops/sec
bitshift 40231172.0 Ops/sec