Test name | Executions per second |
---|---|
parseInt a number | 637405.3 Ops/sec |
parseInt a string | 534323.1 Ops/sec |
toString a number | 5558978.0 Ops/sec |
toString a string | 7273518.0 Ops/sec |
string literal a number | 11163790.0 Ops/sec |
string literal a string | 7778575.0 Ops/sec |
add empty string to number | 11167030.0 Ops/sec |
add empty string to string | 10377970.0 Ops/sec |