Test name | Executions per second |
---|---|
parseInt a number | 3887987.0 Ops/sec |
parseInt a string | 2599037.0 Ops/sec |
toString a number | 1005260.0 Ops/sec |
toString a string | 37982370.0 Ops/sec |
string literal a number | 2733877.0 Ops/sec |
string literal a string | 22489510.0 Ops/sec |
add empty string to number | 1664995.0 Ops/sec |
add empty string to string | 37264620.0 Ops/sec |