Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
Feature Requests
FAQ
Register
Log In
Run results for:
luxon vs datefns vs moment vs day.js 123
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Android 15; Mobile; rv:148.0) Gecko/148.0 Firefox/148.0
Browser:
Firefox Mobile 148
Operating system:
Android
Device Platform:
Mobile
Date tested:
6 months ago
Benchmark engine:
Benchmark.js
day.js
356K/s
datefns
313K/s
luxon
179K/s
moment
76K/s
View exact numbers
Test name
Executions per second
✓
day.js
356,208 Ops/sec
datefns
312,950 Ops/sec
luxon
178,967 Ops/sec
moment
75,826 Ops/sec
HTML Preparation code:
<script src="https://cdn.jsdelivr.net/npm/luxon@1.26.0/build/global/luxon.min.js"></script> <script src="https://igor.moomers.org/random/datefns.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:
datefns
window.datefns.parseISO(window.ds)
luxon
luxon.DateTime.fromISO(ds);
moment
moment(ds)
day.js
dayjs(ds)