Test name | Executions per second |
---|---|
parseInt a number | 53362030.0 Ops/sec |
parseInt a string | 3914819.0 Ops/sec |
toString a number | 3119326.0 Ops/sec |
toString a string | 15273070.0 Ops/sec |
string literal a number | 3754041.0 Ops/sec |
string literal a string | 29688400.0 Ops/sec |
add empty string to number | 57503490.0 Ops/sec |
add empty string to string | 50341940.0 Ops/sec |