Run details:
Mozilla/5.0 (Linux; Android 9; SM-G950F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.58 Mobile Safari/537.36
Chrome Mobile 99
Android
Mobile
2 years ago
Test name Executions per second
parseInt 3.3 Ops/sec
toFixed 3.3 Ops/sec
Tilde 3.5 Ops/sec
Bitwise 3.5 Ops/sec
Math.round 3.4 Ops/sec
Math.trunc 3.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • parseInt

  • toFixed

  • Tilde

  • Bitwise

  • Math.round

  • Math.trunc