Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36
Chrome 103
Linux
Desktop
one year ago
Test name Executions per second
Or bitwise 6760351.0 Ops/sec
Double bitwise not 6800550.5 Ops/sec
Left bitwise shift 6793523.0 Ops/sec
Math.round 3485846.8 Ops/sec
Script Preparation code:
Tests:
  • Or bitwise

  • Double bitwise not

  • Left bitwise shift

  • Math.round