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: 4 days ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36
Chrome 134 on Linux
View result in a separate tab
Test name Executions per second
Math.abs access 138647616.0 Ops/sec
abs function 141326640.0 Ops/sec
compare 135693344.0 Ops/sec
bitshift 137970304.0 Ops/sec