Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0
Firefox 91
Windows 7
Desktop
2 years ago
Test name Executions per second
Trunc 993497280.0 Ops/sec
Floor 999148736.0 Ops/sec
ParseInt 28355354.0 Ops/sec
Bitwise invert2 1004065984.0 Ops/sec
Script Preparation code:
Tests:
  • Trunc

  • Floor

  • ParseInt

  • Bitwise invert2