Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Chrome 131
Linux
Desktop
8 days ago
Test name Executions per second
Intl.NumberFormat 3984434.8 Ops/sec
Number.toLocaleString 59979.1 Ops/sec
Regex 34547992.0 Ops/sec
Script Preparation code:
Tests:
  • Intl.NumberFormat

  • Number.toLocaleString

  • Regex