HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 68 community runs

Desktop Results:
Chrome 49 runs
js-joda
3.4M/s
date-fns
1.4M/s
luxon
383K/s
Dayjs
308K/s

Fastest: js-joda (11.2x faster)

View exact numbers
  • js-joda: 3,449,076 ops/sec
  • date-fns: 1,445,207 ops/sec
  • luxon: 383,329 ops/sec
  • Dayjs: 308,225 ops/sec
Firefox 11 runs
date-fns
2.0M/s
js-joda
1.8M/s
luxon
328K/s
Dayjs
256K/s

Fastest: date-fns (7.7x faster)

View exact numbers
  • date-fns: 1,958,156 ops/sec
  • js-joda: 1,816,302 ops/sec
  • luxon: 327,548 ops/sec
  • Dayjs: 255,839 ops/sec
Mobile Results:
Chrome 8 runs
js-joda
2.2M/s
date-fns
1.1M/s
luxon
321K/s
Dayjs
264K/s

Fastest: js-joda (8.2x faster)

View exact numbers
  • js-joda: 2,181,628 ops/sec
  • date-fns: 1,095,409 ops/sec
  • luxon: 320,882 ops/sec
  • Dayjs: 264,441 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: 9 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.0.1 Safari/605.1.15
Safari 26 on Mac OS X 10.15.7
View result in a separate tab
date-fns
5.9M/s
js-joda
4.7M/s
Dayjs
898K/s
luxon
760K/s
View exact numbers
Test name Executions per second
date-fns 5,897,008 Ops/sec
js-joda 4,701,460 Ops/sec
Dayjs 897,628 Ops/sec
luxon 760,247 Ops/sec