Test name | Executions per second |
---|---|
parseInt a number | 639751.6 Ops/sec |
parseInt a string | 530513.6 Ops/sec |
toString a number | 5764166.0 Ops/sec |
toString a string | 7433981.0 Ops/sec |
string literal a number | 11743480.0 Ops/sec |
string literal a string | 8311100.0 Ops/sec |
add empty string to number | 11763970.0 Ops/sec |
add empty string to string | 11005560.0 Ops/sec |