We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
One is the method I wrote myself, and one is dayjs. There's a big difference in performance
The text was updated successfully, but these errors were encountered:
@Likunone Vanilla js is of course and always the best in performance. However, a lib dose more than just a single date compare.
That is to say, there's no need for this comparison. Besides, Day.js is still fast enough even in your 300000 times tests.
Sorry, something went wrong.
Fair comparison is with other Date libs (moment, luxon, date-fns, etc), not with vanilla js
No branches or pull requests
One is the method I wrote myself, and one is dayjs. There's a big difference in performance
The text was updated successfully, but these errors were encountered: