Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36
Chrome 119
Windows
Desktop
one year ago
Test name Executions per second
parseInt 30.8 Ops/sec
toFixed 33.5 Ops/sec
Tilde 37.3 Ops/sec
Bitwise 38.3 Ops/sec
Math.round 34.1 Ops/sec
Math.trunc 33.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • parseInt

  • toFixed

  • Tilde

  • Bitwise

  • Math.round

  • Math.trunc


;