Run details:
Mozilla/5.0 (Linux; Android 13; SAMSUNG SM-S901N) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/19.0 Chrome/102.0.5005.125 Mobile Safari/537.36
Chrome Mobile 102
Android
Mobile
2 years ago
Test name Executions per second
Trunc 2743641.5 Ops/sec
Floor 2794192.2 Ops/sec
ParseInt 2804449.8 Ops/sec
Bitwise invert2 9103301.0 Ops/sec
Script Preparation code:
Tests:
  • Trunc

  • Floor

  • ParseInt

  • Bitwise invert2