Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
luxon vs datefns vs moment vs day.js 2025
(version: 1)
Comparing performance of:
luxon vs moment vs day.js
Created:
one year ago
by:
Guest
Go to the latest result
HTML Preparation code:
<script src="https://cdn.jsdelivr.net/npm/luxon@3.6.1/build/global/luxon.min.js"></script> <script src='https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.30.1/moment.min.js'></script> <script src='https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.11.7/dayjs.min.js'></script>
Script Preparation code:
window.ds = "2020-02-19T00:51:53.623839+00:00";
Tests:
luxon
luxon.DateTime.fromISO(ds);
moment
moment(ds)
day.js
dayjs(ds)
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (3)
Previous results
Fork
Test case name
Result
luxon
moment
day.js
Fastest:
N/A
Slowest:
N/A
Latest run results:
Run details:
(Test run date:
11 months ago
)
User agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36
Browser/OS:
Chrome 139 on Mac OS X 10.15.7
View result in a separate tab
Embed
Embed Benchmark Result
day.js
817K/s
luxon
668K/s
moment
332K/s
View exact numbers
Test name
Executions per second
✓
day.js
816,812 Ops/sec
luxon
668,001 Ops/sec
moment
331,792 Ops/sec
Related benchmarks
luxon vs datefns vs moment
luxon vs datefns vs moment vs day.js
luxon vs datefns adding
luxon vs moment (UTC)
Comments
Confirm delete:
Do you really want to delete benchmark?