Test name | Executions per second |
---|---|
parseInt a number | 1560876.0 Ops/sec |
parseInt a string | 1391044.0 Ops/sec |
toString a number | 12719940.0 Ops/sec |
toString a string | 17022110.0 Ops/sec |
string literal a number | 27186170.0 Ops/sec |
string literal a string | 19151270.0 Ops/sec |
add empty string to number | 25396300.0 Ops/sec |
add empty string to string | 24161050.0 Ops/sec |