Test name | Executions per second |
---|---|
parseInt a number | 854688.1 Ops/sec |
parseInt a string | 711491.3 Ops/sec |
toString a number | 7308682.0 Ops/sec |
toString a string | 9663115.0 Ops/sec |
string literal a number | 14072020.0 Ops/sec |
string literal a string | 10200000.0 Ops/sec |
add empty string to number | 13971310.0 Ops/sec |
add empty string to string | 12922390.0 Ops/sec |