Run details:
Mozilla/5.0 (Linux; Android 9; SAMSUNG SM-G611MT) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/16.2 Chrome/92.0.4515.166 Mobile Safari/537.36
Chrome Mobile 92
Android
Mobile
2 years ago
Test name Executions per second
Math.abs access 357324.5 Ops/sec
abs function 525258.3 Ops/sec
compare 511313.9 Ops/sec
bitshift 354862.9 Ops/sec
Script Preparation code:
Tests:
  • Math.abs access

  • abs function

  • compare

  • bitshift