Test name | Executions per second |
---|---|
parseInt a number | 824436.6 Ops/sec |
parseInt a string | 676522.7 Ops/sec |
toString a number | 6767021.0 Ops/sec |
toString a string | 8068558.0 Ops/sec |
string literal a number | 13424070.0 Ops/sec |
string literal a string | 8686943.0 Ops/sec |
add empty string to number | 13177410.0 Ops/sec |
add empty string to string | 12490490.0 Ops/sec |