Test name | Executions per second |
---|---|
parseInt a number | 242392.3 Ops/sec |
parseInt a string | 204132.1 Ops/sec |
toString a number | 2246678.0 Ops/sec |
toString a string | 2446122.0 Ops/sec |
string literal a number | 3802378.0 Ops/sec |
string literal a string | 2746927.0 Ops/sec |
add empty string to number | 3782163.0 Ops/sec |
add empty string to string | 152191.0 Ops/sec |