Test name | Executions per second |
---|---|
parseInt a number | 829542.8 Ops/sec |
parseInt a string | 684764.4 Ops/sec |
toString a number | 6759213.0 Ops/sec |
toString a string | 8649145.0 Ops/sec |
string literal a number | 14302220.0 Ops/sec |
string literal a string | 9835509.0 Ops/sec |
add empty string to number | 14399380.0 Ops/sec |
add empty string to string | 13246020.0 Ops/sec |