-
Notifications
You must be signed in to change notification settings - Fork 23
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
Limit data URLs in css-variables #145
Conversation
It seems a I'm able to find the variables/selectors/values there: SELECT
url, css
FROM `httparchive.all.parsed_css`
WHERE date = "2024-09-01"
AND client = 'mobile'
AND NOT is_root_page
AND rank <= 10000
and page = 'https://www.morgenpost.de/politik/article407241629/game-changer-fuer-die-ukraine-bahnt-sich-an-putin-droht.html'
AND css LIKE "%--playkit-icon-quality-HD-active-url%" I can't give a guarantee, but it should be possible to reuse it for various metrics calculation. The other part of the object - So a quick optimization could be something as follows:
|
@rviscomi do you know the difference between these two custom metrics and whether we need both? |
css-variables gives us runtime data about custom property usage parsed_css gives us the raw stylesheet AST They're similar in that they're both used for Web Almanac CSS analysis, but both are needed |
OK, then I'm less worried about triming I do think there's an argument to move both So in meantime I think this is good to merge? |
Custom metrics for https://almanac.httparchive.org/en/2022/WPT test run results: http://webpagetest.httparchive.org/results.php?test=240925_03_1W {
"_css-variables": {
"summary": {}
}
} Webpage test results that are too big for a comment are available as the action's artifact. |
We definitely need to split And yeah, good to merge. |
* commenting * test metric change * formatting * typo * formatting * comment restructured * options fix * Limit data URLs in css-variables (#145) * link updates --------- Co-authored-by: Barry Pollard <[email protected]>
As mentioned in HTTPArchive/data-pipeline#262 (comment)
Test websites: