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 55818916.0 Ops/sec
Math.round 50418240.0 Ops/sec
Math.trunc 54327416.0 Ops/sec
parseInt 41603420.0 Ops/sec
double negation 55454396.0 Ops/sec
bitwise XOR 53809604.0 Ops/sec
bitwise OR 55787776.0 Ops/sec
Right shift 55061020.0 Ops/sec
Unsigned right shift 53545376.0 Ops/sec
Modulo 52499908.0 Ops/sec
Tests:
  • Math.floor

  • Math.round

  • Math.trunc

  • parseInt

  • double negation

  • bitwise XOR

  • bitwise OR

  • Right shift

  • Unsigned right shift

  • Modulo