Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
dayjs vs luxon currentDate
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Mobile Safari/537.36
Browser:
Chrome Mobile 131
Operating system:
Android
Device Platform:
Mobile
Date tested:
one year ago
Test name
Executions per second
luxon
129594.9 Ops/sec
dayjs
10395.0 Ops/sec
HTML Preparation code:
<script src="https://cdn.jsdelivr.net/npm/dayjs@1.11.11/dayjs.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/dayjs@1.11.11/plugin/timezone.js"></script> <script src="https://cdn.jsdelivr.net/npm/dayjs@1.11.11/plugin/utc.js"></script> <script src="https://cdn.jsdelivr.net/npm/luxon@1.28.0/build/global/luxon.min.js"></script>
Script Preparation code:
dayjs.extend(window.dayjs_plugin_utc) dayjs.extend(window.dayjs_plugin_timezone) window.__timezone__ = 'Europe/Warsaw'; window.__luxon__ = luxon; window.__dayjs__ = dayjs;
Tests:
luxon
__luxon__.DateTime.now().setZone(__timezone__);
dayjs
__dayjs__().tz(__timezone__);