Script Preparation code:
Tests:
  • new Intl.DateTimeFormat.format()

  • cached Intl.DateTimeFormat.format()

  • new Intl.DateTimeFormat.formatToParts

  • cached Intl.DateTimeFormat.formatToParts()

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()

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 15 days ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:131.0) Gecko/20100101 Firefox/131.0
Firefox 131 on Mac OS X 10.15
View result in a separate tab
Test name Executions per second
new Intl.DateTimeFormat.format() 25758.3 Ops/sec
cached Intl.DateTimeFormat.format() 703212.5 Ops/sec
new Intl.DateTimeFormat.formatToParts 25829.0 Ops/sec
cached Intl.DateTimeFormat.formatToParts() 440294.8 Ops/sec


;