Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    cached Intl.NumberFormat
    new Intl.NumberFormat
    toLocaleString
    String().toLocaleString

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 13 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 Edg/150.0.0.0
Chrome 150 on Windows
View result in a separate tab
String().toLocaleString
210K/s
cached Intl.NumberFormat
23K/s
new Intl.NumberFormat
587/s
toLocaleString
578/s
View exact numbers
Test name Executions per second
String().toLocaleString 209,903 Ops/sec
cached Intl.NumberFormat 22,769 Ops/sec
new Intl.NumberFormat 587 Ops/sec
toLocaleString 578 Ops/sec