HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 80 community runs

Desktop Results:
Chrome 66 runs
date-fns
2.8M/s
Dayjs
598K/s
js-joda
370K/s
luxon
68K/s

Fastest: date-fns (41.1x faster)

View exact numbers
  • date-fns: 2,778,994 ops/sec
  • Dayjs: 597,839 ops/sec
  • js-joda: 369,676 ops/sec
  • luxon: 67,642 ops/sec
Firefox 14 runs
date-fns
2.4M/s
Dayjs
506K/s
luxon
55K/s
js-joda
55K/s

Fastest: date-fns (43.5x faster)

View exact numbers
  • date-fns: 2,381,783 ops/sec
  • Dayjs: 506,475 ops/sec
  • luxon: 55,236 ops/sec
  • js-joda: 54,763 ops/sec

Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Dayjs
    luxon
    js-joda
    date-fns

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:148.0) Gecko/20100101 Firefox/148.0
Firefox 148 on Mac OS X 10.15
View result in a separate tab
date-fns
5.4M/s
Dayjs
1.1M/s
js-joda
122K/s
luxon
121K/s
View exact numbers
Test name Executions per second
date-fns 5,408,088 Ops/sec
Dayjs 1,120,856 Ops/sec
js-joda 122,432 Ops/sec
luxon 120,915 Ops/sec