Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.41 Safari/537.36
Chrome 101
Linux
Desktop
2 years ago
Test name Executions per second
Math.abs access 5373315.5 Ops/sec
abs function 7887299.5 Ops/sec
compare 7847492.0 Ops/sec
bitshift 5271765.5 Ops/sec
Script Preparation code:
Tests:
  • Math.abs access

  • abs function

  • compare

  • bitshift


;