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

enhance(grapher): record PerformanceMeasurements #3913

Merged
merged 1 commit into from
Sep 4, 2024
Merged

Conversation

marcelgerber
Copy link
Member

@marcelgerber marcelgerber commented Aug 30, 2024

I feel like this is a good enhancement, and there's basically no downside to it.

These measurements will show up in a Performance recording, like so:
CleanShot 2024-08-30 at 13 28 09@2x
In Chrome 128+, it will also show details in the "Summary" tab, which are especially useful if a page loads multiple graphers.

These measurements can also be accessed using performance.getEntriesByType("measure").

@owidbot
Copy link
Contributor

owidbot commented Aug 30, 2024

Quick links (staging server):

Site Admin Wizard

Login: ssh owid@staging-site-perf-marks

SVG tester:

Number of differences (default views): 0 ✅
Number of differences (all views): 0 ✅

Edited: 2024-08-30 12:34:28 UTC
Execution time: 1.40 seconds

@marcelgerber marcelgerber merged commit db6e133 into master Sep 4, 2024
27 checks passed
@marcelgerber marcelgerber deleted the perf-marks branch September 4, 2024 09:04
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.

2 participants