Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:99.0) Gecko/20100101 Firefox/99.0
Firefox 99
Windows 7
Desktop
2 years ago
Test name Executions per second
cached Intl.NumberFormat 662957.8 Ops/sec
new Intl.NumberFormat 461871.0 Ops/sec
toLocaleString 701767744.0 Ops/sec
Tests:
  • cached Intl.NumberFormat

  • new Intl.NumberFormat

  • toLocaleString