Test name | Executions per second |
---|---|
parseInt a number | 1424313.0 Ops/sec |
parseInt a string | 1239219.0 Ops/sec |
toString a number | 11986440.0 Ops/sec |
toString a string | 12232400.0 Ops/sec |
string literal a number | 24863090.0 Ops/sec |
string literal a string | 16627140.0 Ops/sec |
add empty string to number | 23807570.0 Ops/sec |
add empty string to string | 21008250.0 Ops/sec |