-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Add inserter performance measures #26634
Conversation
Size Change: 0 B Total Size: 1.28 MB ℹ️ View Unchanged
|
That's very cool. Can we add these measures to the performance command output ( |
That's a lot better thanks. |
Looking at the numbers inserterOpened is changing by 10ms seconds above without any change in the code. Do you think this is within the range of error? Anything we can do to make the number more stable so we can trust it better? |
So far I saw a maximum of 3% difference between runs. I think ~10ms (~2.5%) is fine here. |
One option is to take multiple before and after measurements, and applying a Welch's t-test to calculate a p-value. With that, you can determine whether the change is significant or just a statistical blip. I wrote a tool that does this for basic page metrics (not SPA interaction like you need here), but the code might still help: https://github.com/Automattic/lab-assistant |
ac3f077
to
a071206
Compare
Description
Add two new performance measurements:
How has this been tested?
npm run test-performance
Screenshots
Types of changes
New feature
Checklist: