luxon v3.5.0 vs dayjs v1.11.13 vs date-fns v4.1.0 vs temporal-polyfill 0.2.5 vs moment.js v2.29.1Fastest: dayjs v1.11.13 (43.0x faster)
915,737 ops/sec
647,872 ops/sec
483,410 ops/sec
24,420 ops/sec
21,310 ops/sec
Fastest: dayjs v1.11.13 (56.9x faster)
1,213,269 ops/sec
431,463 ops/sec
376,405 ops/sec
22,048 ops/sec
21,326 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| 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 |
| 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 |