Test name | Executions per second |
---|---|
parseInt a number | 418972.1 Ops/sec |
parseInt a string | 363971.8 Ops/sec |
toString a number | 3930238.0 Ops/sec |
toString a string | 4709058.0 Ops/sec |
string literal a number | 7256854.0 Ops/sec |
string literal a string | 5209932.0 Ops/sec |
add empty string to number | 6855801.0 Ops/sec |
add empty string to string | 6375640.0 Ops/sec |