Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:120.0) Gecko/20100101 Firefox/120.0
Firefox 120
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
Number 96.9 Ops/sec
parseInt 135.7 Ops/sec
>>0 184.3 Ops/sec
*1 188.8 Ops/sec
~~ 186.5 Ops/sec
+ 189.2 Ops/sec
Script Preparation code:
Tests:
  • Number

  • parseInt

  • >>0

  • *1

  • ~~

  • +