Skip to content
New issue

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

Repeat-click: use Date.now() instead of new Date() #14776

Merged
merged 1 commit into from
Apr 10, 2019

Conversation

pavelmash
Copy link
Contributor

Prevent creation of new Date object to get time in ms. see performace test

@element-bot
Copy link
Member

Deploy preview for element ready!

Built with commit 96c60a9

https://deploy-preview-14776--element.netlify.com

@ziyoung ziyoung added this to the 2.8.0 milestone Apr 4, 2019
@iamkun iamkun self-assigned this Apr 4, 2019
@iamkun iamkun merged commit 88b628b into ElemeFE:dev Apr 10, 2019
@pavelmash pavelmash deleted the perf/dateNow branch April 16, 2019 04:59
weisiren168 pushed a commit to weisiren168/element that referenced this pull request Jun 20, 2019
lzq4047 pushed a commit to lzq4047/element that referenced this pull request May 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants