Script Preparation code:
Tests:
  • 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

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 month 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
Test name Executions per second
split 9663759.0 Ops/sec
Date toLocaleString without date being cached 5636.4 Ops/sec
slice 676450816.0 Ops/sec
substring 733038336.0 Ops/sec
Intl no format cache no date cache 6414.0 Ops/sec
Intl no format cache with date cache 6546.7 Ops/sec
Intl with format cache no date cache 322170.4 Ops/sec
Intl with format cache with date cache 394237.5 Ops/sec
Date toLocaleString with date being cached 5870.1 Ops/sec