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 | 4,559,318 Ops/sec |
| toLocaleString | 63,664 Ops/sec |
| new Intl.NumberFormat | 60,885 Ops/sec |