Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
Chrome 130
Windows
Desktop
2 months ago
Test name Executions per second
Number 6.9 Ops/sec
parseInt 7.1 Ops/sec
>>0 70.8 Ops/sec
*1 70.4 Ops/sec
~~ 69.6 Ops/sec
+ 69.4 Ops/sec
Script Preparation code:
Tests:
  • Number

  • parseInt

  • >>0

  • *1

  • ~~

  • +