Test name | Executions per second |
---|---|
parseInt a number | 1384574.0 Ops/sec |
parseInt a string | 1162240.0 Ops/sec |
toString a number | 13058720.0 Ops/sec |
toString a string | 12373160.0 Ops/sec |
string literal a number | 24977330.0 Ops/sec |
string literal a string | 16123510.0 Ops/sec |
add empty string to number | 25006620.0 Ops/sec |
add empty string to string | 21397980.0 Ops/sec |