Script Preparation code:
Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    split
    Date toLocaleString without date being cached
    slice
    substring
    Intl no format cache no date cache
    Intl no format cache with date cache
    Intl with format cache no date cache
    Intl with format cache with date cache
    Date toLocaleString with date being cached

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:136.0) Gecko/20100101 Firefox/136.0
Firefox 136 on Windows
View result in a separate tab
substring
733.0M/s
slice
676.5M/s
split
9.7M/s
Intl with format cache with date cache
394K/s
Intl with format cache no date cache
322K/s
Intl no format cache with date cache
7K/s
Intl no format cache no date cache
6K/s
Date toLocaleString with date being cached
6K/s
Date toLocaleString without date being cached
6K/s
View exact numbers
Test name Executions per second
substring 733,038,336 Ops/sec
slice 676,450,816 Ops/sec
split 9,663,759 Ops/sec
Intl with format cache with date cache 394,238 Ops/sec
Intl with format cache no date cache 322,170 Ops/sec
Intl no format cache with date cache 6,547 Ops/sec
Intl no format cache no date cache 6,414 Ops/sec
Date toLocaleString with date being cached 5,870 Ops/sec
Date toLocaleString without date being cached 5,636 Ops/sec