Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/109.0
Firefox 109
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
Math.abs access 955832100.0 Ops/sec
abs function 1049137000.0 Ops/sec
compare 787507700.0 Ops/sec
bitshift 1102294000.0 Ops/sec
Script Preparation code:
Tests:
  • Math.abs access

  • abs function

  • compare

  • bitshift