Test name | Executions per second |
---|---|
parseInt a number | 383969.9 Ops/sec |
parseInt a string | 336499.8 Ops/sec |
toString a number | 3606309.0 Ops/sec |
toString a string | 4717735.0 Ops/sec |
string literal a number | 7542405.0 Ops/sec |
string literal a string | 5157720.0 Ops/sec |
add empty string to number | 7568548.0 Ops/sec |
add empty string to string | 7262956.0 Ops/sec |