Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
Feature Requests
FAQ
Register
Log In
Run results for:
Dayjs Date-fns format comparison
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
Benchmark engine:
Benchmark.js
Dayjs
100K/s
Date-fns
94K/s
View exact numbers
Test name
Executions per second
✓
Dayjs
99,770 Ops/sec
Date-fns
94,013 Ops/sec
HTML Preparation code:
<script src="https://unpkg.com/dayjs@1.8.21/dayjs.min.js"></script> <script src="https://igor.moomers.org/random/datefns.js"></script>
Script Preparation code:
window.ds = "2020-02-19T00:51:53.623839+00:00";
Tests:
Date-fns
window.datefns.parseISO(window.ds); window.datefns.format(new Date(), "mm-dd-yyyy");
Dayjs
dayjs(ds) dayjs().format("MM-DD-YYYY")