Test name | Executions per second |
---|---|
parseInt a number | 505535.8 Ops/sec |
parseInt a string | 449471.1 Ops/sec |
toString a number | 5576153.0 Ops/sec |
toString a string | 6211900.0 Ops/sec |
string literal a number | 10383330.0 Ops/sec |
string literal a string | 7552259.0 Ops/sec |
add empty string to number | 11362740.0 Ops/sec |
add empty string to string | 10655720.0 Ops/sec |