Test name | Executions per second |
---|---|
parseInt a number | 2928760.0 Ops/sec |
parseInt a string | 2045042.0 Ops/sec |
toString a number | 4636951.0 Ops/sec |
toString a string | 6107868.0 Ops/sec |
string literal a number | 2011482.0 Ops/sec |
string literal a string | 5519939.0 Ops/sec |
add empty string to number | 5613646.0 Ops/sec |
add empty string to string | 6378315.0 Ops/sec |