Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
Chrome 114
Windows
Desktop
one year ago
Test name Executions per second
notnot 5121227.0 Ops/sec
parseInt 2774262.2 Ops/sec
Number 2687887.2 Ops/sec
parseFloat 2577539.8 Ops/sec
*1 4225071.5 Ops/sec
-0 4076833.5 Ops/sec
+ 4145565.2 Ops/sec
<<0 3747847.5 Ops/sec
/1 3614528.5 Ops/sec
Script Preparation code:
Tests:
  • notnot

  • parseInt

  • Number

  • parseFloat

  • *1

  • -0

  • +

  • <<0

  • /1