Test name | Executions per second |
---|---|
parseInt a number | 1123204.0 Ops/sec |
parseInt a string | 959366.7 Ops/sec |
toString a number | 9327670.0 Ops/sec |
toString a string | 11410460.0 Ops/sec |
string literal a number | 18570650.0 Ops/sec |
string literal a string | 12846390.0 Ops/sec |
add empty string to number | 18562610.0 Ops/sec |
add empty string to string | 17708180.0 Ops/sec |