Test name | Executions per second |
---|---|
parseInt a number | 48555990.0 Ops/sec |
parseInt a string | 47420810.0 Ops/sec |
toString a number | 5781165.0 Ops/sec |
toString a string | 48856140.0 Ops/sec |
string literal a number | 4529726.0 Ops/sec |
string literal a string | 26111750.0 Ops/sec |
add empty string to number | 5530400.0 Ops/sec |
add empty string to string | 49939240.0 Ops/sec |