Test name | Executions per second |
---|---|
parseInt a number | 943527.5 Ops/sec |
parseInt a string | 821689.5 Ops/sec |
toString a number | 9084129.0 Ops/sec |
toString a string | 10861630.0 Ops/sec |
string literal a number | 10325250.0 Ops/sec |
string literal a string | 11969040.0 Ops/sec |
add empty string to number | 16832490.0 Ops/sec |
add empty string to string | 16036380.0 Ops/sec |