Test name | Executions per second |
---|---|
parseInt a number | 897198.4 Ops/sec |
parseInt a string | 775189.1 Ops/sec |
toString a number | 7766142.0 Ops/sec |
toString a string | 9356673.0 Ops/sec |
string literal a number | 15053710.0 Ops/sec |
string literal a string | 10970190.0 Ops/sec |
add empty string to number | 15825410.0 Ops/sec |
add empty string to string | 12291640.0 Ops/sec |