Test name | Executions per second |
---|---|
parseInt a number | 1060015.0 Ops/sec |
parseInt a string | 1126091.0 Ops/sec |
toString a number | 3497148.0 Ops/sec |
toString a string | 10893970.0 Ops/sec |
string literal a number | 5382001.0 Ops/sec |
string literal a string | 10814410.0 Ops/sec |
add empty string to number | 4203882.0 Ops/sec |
add empty string to string | 8148364.0 Ops/sec |