Test name | Executions per second |
---|---|
parseInt a number | 1445975.0 Ops/sec |
parseInt a string | 1605146.0 Ops/sec |
toString a number | 5032819.0 Ops/sec |
toString a string | 17565080.0 Ops/sec |
string literal a number | 4734409.0 Ops/sec |
string literal a string | 10105580.0 Ops/sec |
add empty string to number | 2637566.0 Ops/sec |
add empty string to string | 8659883.0 Ops/sec |