Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Luxon vs
(version: 1)
Comparing performance of:
datefns vs dayjs
Created:
one year ago
by:
Guest
Jump to the latest result
HTML Preparation code:
<script src="https://cdn.jsdelivr.net/npm/dayjs@1.11.13/dayjs.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/date-fns@4.1.0/cdn.min.js"> </script>
Script Preparation code:
/*your preparation JavaScript code goes here To execute async code during the script preparation, wrap it as function globalMeasureThatScriptPrepareFunction, example:*/ //window.ds = "2020-02-19T00:51:53.623839+00:00"; async function globalMeasureThatScriptPrepareFunction() { // This function is optional, feel free to remove it. // await someThing(); }
Tests:
datefns
dateFns.parse('2025-01-09', 'yyyy-MM-dd', new Date())
dayjs
dayjs('2025-01-09')
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
datefns
dayjs
Fastest:
N/A
Slowest:
N/A
Latest run results:
Run details:
(Test run date:
one year ago
)
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0
Browser/OS:
Firefox 133 on Windows
View result in a separate tab
Embed
Embed Benchmark Result
Test name
Executions per second
datefns
171811.1 Ops/sec
dayjs
2492891.5 Ops/sec
Related benchmarks:
reate array by lenght
Micromark vs Markdown-it vs Remark
Assigning new variable
test cross_domain
Benchmark GTM
PIMEc TEST
Decimal.js vs Native
Test array concat
me vs chatgpt
Comments
Confirm delete:
Do you really want to delete benchmark?