Test case name | Result |
---|---|
toFixed().replace() | |
Number().toFixed().replace() | |
Intl.NumberFormat() | |
text Intl.NumberFormat() |
Test name | Executions per second |
---|---|
toFixed().replace() | 8287965.0 Ops/sec |
Number().toFixed().replace() | 5837521.0 Ops/sec |
Intl.NumberFormat() | 68796.0 Ops/sec |
text Intl.NumberFormat() | 68532.1 Ops/sec |