Skip to content
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.

feat: use performance.now in benchmarks to avoid flaky results #1

Merged
merged 2 commits into from
Jan 28, 2021

Conversation

domoritz
Copy link
Member

Date.now is not monotonic so results can be flaky. Probably not a big issue most of the time but it's a simple change.

@jheer jheer merged commit 6666a2e into main Jan 28, 2021
@jheer jheer deleted the dom/performance branch January 28, 2021 16:22
@jheer
Copy link
Member

jheer commented Jan 28, 2021

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants