cached Intl.NumberFormat vs new Intl.NumberFormat vs toLocaleString| Test case name | Result |
|---|---|
| cached Intl.NumberFormat | |
| new Intl.NumberFormat | |
| toLocaleString |
| Test name | Executions per second |
|---|---|
| ✓ cached Intl.NumberFormat | 3,576,587 Ops/sec |
| toLocaleString | 60,950 Ops/sec |
| new Intl.NumberFormat | 58,785 Ops/sec |