Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 18_1_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.1.1 Mobile/15E148 Safari/604.1
Mobile Safari 18
iOS 18.1.1
Mobile
14 days ago
Test name Executions per second
cached Intl.NumberFormat 2700648.5 Ops/sec
new Intl.NumberFormat 34766.3 Ops/sec
toLocaleString 29560740.0 Ops/sec
Tests:
  • cached Intl.NumberFormat

  • new Intl.NumberFormat

  • toLocaleString