Test name | Executions per second |
---|---|
parseInt a number | 671738.1 Ops/sec |
parseInt a string | 568959.2 Ops/sec |
toString a number | 5213866.0 Ops/sec |
toString a string | 7025851.0 Ops/sec |
string literal a number | 10769000.0 Ops/sec |
string literal a string | 7495284.0 Ops/sec |
add empty string to number | 10988390.0 Ops/sec |
add empty string to string | 9916324.0 Ops/sec |