Tests:
DateTimeFormat single
toLocaleString single
DateTimeFormat 100
toLocaleString 100
DateTimeFormat 10000
toLocaleString 10000
DateTimeFormat 4
toLocaleString 4
Rendered benchmark preparation results:
Latest run results:
Run details: (Test run date:
one year ago )
User agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Browser/OS:
Chrome 131 on Mac OS X 10.15.7
View result in a separate tab
Embed
toLocaleString single
26K/s
DateTimeFormat single
25K/s
DateTimeFormat 10000
116/s
View exact numbers
Test name
Executions per second
✓
toLocaleString single
26,001 Ops/sec
DateTimeFormat single
25,288 Ops/sec
DateTimeFormat 4
23,596 Ops/sec
DateTimeFormat 100
8,142 Ops/sec
toLocaleString 4
6,590 Ops/sec
toLocaleString 100
273 Ops/sec
DateTimeFormat 10000
116 Ops/sec
toLocaleString 10000
3 Ops/sec
Do you really want to delete benchmark?