Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
dayjs vs js-joda vs date-fns vs new Date() from ISO strings
(version: 1)
Comparing performance of:
js-joda (ZonedDateTime) vs date-fns vs new Date() vs js-joda (just a date)
Created:
one year ago
by:
Guest
Jump to the latest result
HTML Preparation code:
<script src="https://cdn.jsdelivr.net/npm/@js-joda/core@5.6.3/dist/js-joda.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/date-fns/1.9.0/date_fns.min.js"></script>
Script Preparation code:
dayjs.extend(window.dayjs_plugin_customParseFormat);
Tests:
js-joda (ZonedDateTime)
JSJoda.ZonedDateTime.parse('2025-01-09T12:36:53Z');
date-fns
dateFns.parse('2025-01-09T12:36:53Z')
new Date()
new Date('2025-01-09T12:36:53Z')
js-joda (just a date)
JSJoda.LocalDate.parse('2025-01-09')
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (4)
Previous results
Fork
Test case name
Result
js-joda (ZonedDateTime)
date-fns
new Date()
js-joda (just a date)
Fastest:
N/A
Slowest:
N/A
Latest run results:
No previous run results
This benchmark does not have any results yet. Be the first one
to run it!
Comments
Confirm delete:
Do you really want to delete benchmark?