Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36
Chrome 138
Linux
Desktop
10 months ago
Test name Executions per second
Math.floor 116579904.0 Ops/sec
Math.round 123180376.0 Ops/sec
Math.trunc 112213208.0 Ops/sec
parseInt 22396156.0 Ops/sec
Double Negation 123769688.0 Ops/sec
Bitwise XOR 114031712.0 Ops/sec
Bitwise OR 113125984.0 Ops/sec
Right Shift 115063344.0 Ops/sec
Unsigned Right Shift 108662608.0 Ops/sec
Modulo 114488912.0 Ops/sec
Tests:
  • Math.floor

  • Math.round

  • Math.trunc

  • parseInt

  • Double Negation

  • Bitwise XOR

  • Bitwise OR

  • Right Shift

  • Unsigned Right Shift

  • Modulo