Tests:

Historical Performance Data aggregated from 5 community runs

Desktop Results:
Chrome 5 runs
Intl.NumberFormat
73/s
Number.toLocaleString
1/s

Fastest: Intl.NumberFormat (101.9x faster)

View exact numbers
  • Intl.NumberFormat: 73 ops/sec
  • Number.toLocaleString: 1 ops/sec

Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Intl.NumberFormat
    Number.toLocaleString

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 20 days ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36
Chrome 150 on Windows
View result in a separate tab
Intl.NumberFormat
22/s
Number.toLocaleString
0/s
View exact numbers
Test name Executions per second
Intl.NumberFormat 22 Ops/sec
Number.toLocaleString 0 Ops/sec