Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Mobile Safari/537.36
Chrome Mobile 138
Android
Mobile
10 months ago
Test name Executions per second
Math.floor 52626944.0 Ops/sec
Math.round 51660604.0 Ops/sec
Math.trunc 51037024.0 Ops/sec
parseInt 40497248.0 Ops/sec
double negation 45092136.0 Ops/sec
bitwise XOR 21493238.0 Ops/sec
bitwise OR 8057202.5 Ops/sec
Right shift 35583456.0 Ops/sec
Unsigned right shift 43614184.0 Ops/sec
Modulo 42867024.0 Ops/sec
Tests:
  • Math.floor

  • Math.round

  • Math.trunc

  • parseInt

  • double negation

  • bitwise XOR

  • bitwise OR

  • Right shift

  • Unsigned right shift

  • Modulo