Test name | Executions per second |
---|---|
parseInt a number | 793718.4 Ops/sec |
parseInt a string | 662501.2 Ops/sec |
toString a number | 6890158.0 Ops/sec |
toString a string | 8723727.0 Ops/sec |
string literal a number | 12752290.0 Ops/sec |
string literal a string | 9513218.0 Ops/sec |
add empty string to number | 12473970.0 Ops/sec |
add empty string to string | 12218370.0 Ops/sec |