Run details:
Mozilla/5.0 (Linux; Android 11; M2102J20SG) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Mobile Safari/537.36
Chrome Mobile 107
Android
Mobile
one year ago
Test name Executions per second
parseInt 9.9 Ops/sec
toFixed 9.7 Ops/sec
Tilde 11.0 Ops/sec
Bitwise 11.1 Ops/sec
Math.round 10.5 Ops/sec
Math.trunc 10.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • parseInt

  • toFixed

  • Tilde

  • Bitwise

  • Math.round

  • Math.trunc