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
Number 2722250.8 Ops/sec
parseFloat 2351655.2 Ops/sec
*1 3996423.8 Ops/sec
-0 3840483.2 Ops/sec
+ 3515402.0 Ops/sec
<<0 3271906.5 Ops/sec
/1 3412005.8 Ops/sec
Script Preparation code:
Tests:
  • Number

  • parseFloat

  • *1

  • -0

  • +

  • <<0

  • /1