Test name | Executions per second |
---|---|
parseInt a number | 6562740.0 Ops/sec |
parseInt a string | 2208224.0 Ops/sec |
toString a number | 3022409.0 Ops/sec |
toString a string | 10799950.0 Ops/sec |
string literal a number | 3102849.0 Ops/sec |
string literal a string | 11612250.0 Ops/sec |
add empty string to number | 3020553.0 Ops/sec |
add empty string to string | 8560705.0 Ops/sec |