Test name | Executions per second |
---|---|
parseInt a number | 804243.3 Ops/sec |
parseInt a string | 650877.5 Ops/sec |
toString a number | 6426621.0 Ops/sec |
toString a string | 8231143.0 Ops/sec |
string literal a number | 11995470.0 Ops/sec |
string literal a string | 8907188.0 Ops/sec |
add empty string to number | 12060800.0 Ops/sec |
add empty string to string | 11293610.0 Ops/sec |