Script Preparation code:
Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    new Intl.DateTimeFormat.format()
    cached Intl.DateTimeFormat.format()
    new Intl.DateTimeFormat.formatToParts
    cached Intl.DateTimeFormat.formatToParts()
    date methods

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36
Chrome 134 on Mac OS X 10.15.7
View result in a separate tab
cached Intl.DateTimeFormat.format()
860K/s
cached Intl.DateTimeFormat.formatToParts()
371K/s
new Intl.DateTimeFormat.formatToParts
29K/s
new Intl.DateTimeFormat.format()
28K/s
date methods
28K/s
View exact numbers
Test name Executions per second
cached Intl.DateTimeFormat.format() 860,373 Ops/sec
cached Intl.DateTimeFormat.formatToParts() 371,481 Ops/sec
new Intl.DateTimeFormat.formatToParts 29,007 Ops/sec
new Intl.DateTimeFormat.format() 28,492 Ops/sec
date methods 28,212 Ops/sec