Hacker News new | ask | show | jobs
by GiovanniFrigo 3869 days ago
Will surely do, thanks! Also, how did you test the onClick delay? by spamming timestamps in the code? :D
2 comments

No, you open up the Chrome Dev Tools, click the Timeline tab and then start recording. Click a few days in the calendar, stop the recording and then you'll see that after each click it takes 100ms until paint events are shown.
Use the Chrome's "Profiles" tab in DevTools.