Test name | Executions per second |
---|---|
parseInt a number | 613734.5 Ops/sec |
parseInt a string | 513790.9 Ops/sec |
toString a number | 6258249.0 Ops/sec |
toString a string | 7197712.0 Ops/sec |
string literal a number | 11611060.0 Ops/sec |
string literal a string | 8823793.0 Ops/sec |
add empty string to number | 11709800.0 Ops/sec |
add empty string to string | 10607940.0 Ops/sec |