Test name | Executions per second |
---|---|
parseInt a number | 881325.2 Ops/sec |
parseInt a string | 753801.2 Ops/sec |
toString a number | 8272895.0 Ops/sec |
toString a string | 8926745.0 Ops/sec |
string literal a number | 14644460.0 Ops/sec |
string literal a string | 11284850.0 Ops/sec |
add empty string to number | 14683470.0 Ops/sec |
add empty string to string | 13818520.0 Ops/sec |