Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36
Chrome 86
Windows
Desktop
4 years ago
Test name Executions per second
ceil 3172219.8 Ops/sec
xor 9154395.0 Ops/sec
~~ 9213290.0 Ops/sec
toFixed 2091069.5 Ops/sec
parseInt 3041926.2 Ops/sec
Script Preparation code:
Tests:
  • ceil

  • xor

  • ~~

  • toFixed

  • parseInt