HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 54 community runs

Desktop Results:
Chrome 37 runs
dayjs v1.11.13
916K/s
moment.js v2.29.1
648K/s
luxon v3.5.0
483K/s
temporal-polyfill 0.2.5
24K/s
date-fns v4.1.0
21K/s

Fastest: dayjs v1.11.13 (43.0x faster)

View exact numbers
  • dayjs v1.11.13: 915,737 ops/sec
  • moment.js v2.29.1: 647,872 ops/sec
  • luxon v3.5.0: 483,410 ops/sec
  • temporal-polyfill 0.2.5: 24,420 ops/sec
  • date-fns v4.1.0: 21,310 ops/sec
Firefox 17 runs
dayjs v1.11.13
1.2M/s
moment.js v2.29.1
431K/s
luxon v3.5.0
376K/s
temporal-polyfill 0.2.5
22K/s
date-fns v4.1.0
21K/s

Fastest: dayjs v1.11.13 (56.9x faster)

View exact numbers
  • dayjs v1.11.13: 1,213,269 ops/sec
  • moment.js v2.29.1: 431,463 ops/sec
  • luxon v3.5.0: 376,405 ops/sec
  • temporal-polyfill 0.2.5: 22,048 ops/sec
  • date-fns v4.1.0: 21,326 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
    luxon v3.5.0
    dayjs v1.11.13
    date-fns v4.1.0
    temporal-polyfill 0.2.5
    moment.js v2.29.1

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 27 days ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:152.0) Gecko/20100101 Firefox/152.0
Firefox 152 on Mac OS X 10.15
View result in a separate tab
dayjs v1.11.13
1.2M/s
moment.js v2.29.1
737K/s
luxon v3.5.0
593K/s
temporal-polyfill 0.2.5
30K/s
date-fns v4.1.0
29K/s
View exact numbers
Test name Executions per second
dayjs v1.11.13 1,160,467 Ops/sec
moment.js v2.29.1 737,216 Ops/sec
luxon v3.5.0 593,305 Ops/sec
temporal-polyfill 0.2.5 29,739 Ops/sec
date-fns v4.1.0 29,003 Ops/sec