Run details:
Mozilla/5.0 (X11; CrOS x86_64 14816.64.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36
Chrome 103
Chrome OS 14816.64.0
Desktop
9 months ago
Test name Executions per second
Math.abs access 907622.7 Ops/sec
abs function 1635271.9 Ops/sec
compare 1669788.9 Ops/sec
bitshift 1135745.8 Ops/sec
Script Preparation code:
Tests:
  • Math.abs access

  • abs function

  • compare

  • bitshift