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 5131967.5 Ops/sec
parseInt 2660997.8 Ops/sec
Number 2242454.5 Ops/sec
parseFloat 2061809.5 Ops/sec
+0 7201375.0 Ops/sec
*1 3817658.8 Ops/sec
-0 3681447.5 Ops/sec
+ 3721050.2 Ops/sec
<<0 3844124.5 Ops/sec
/1 3769969.5 Ops/sec
Script Preparation code:
Tests:
  • notnot

  • parseInt

  • Number

  • parseFloat

  • +0

  • *1

  • -0

  • +

  • <<0

  • /1