HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 8 community runs

Desktop Results:
Chrome 8 runs
js-joda
1.2M/s
date-fns
372K/s
Dayjs
317K/s
luxon
278K/s

Fastest: js-joda (4.4x faster)

View exact numbers
  • js-joda: 1,235,503 ops/sec
  • date-fns: 372,105 ops/sec
  • Dayjs: 316,674 ops/sec
  • luxon: 278,286 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 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36
Chrome 140 on Linux
View result in a separate tab
js-joda
1.2M/s
date-fns
337K/s
luxon
267K/s
Dayjs
264K/s
View exact numbers
Test name Executions per second
js-joda 1,212,092 Ops/sec
date-fns 337,190 Ops/sec
luxon 267,310 Ops/sec
Dayjs 263,511 Ops/sec