Test name | Executions per second |
---|---|
parseInt a number | 452561.3 Ops/sec |
parseInt a string | 376585.7 Ops/sec |
toString a number | 4259989.0 Ops/sec |
toString a string | 5437272.0 Ops/sec |
string literal a number | 8255325.0 Ops/sec |
string literal a string | 6178726.0 Ops/sec |
add empty string to number | 6841868.0 Ops/sec |
add empty string to string | 2381837.0 Ops/sec |