-
Notifications
You must be signed in to change notification settings - Fork 110
Core performance tests improvements (2025 edition) #1735
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
Comments
There is https://core.trac.wordpress.org/ticket/62148 open to track this, along with this PR that needs to be reviewed. |
Thanks @swissspidy for the great summary! A few additional thoughts:
|
As discussed, we can do this while preserving "backward compatibility" with the data, i.e. we can keep the existing |
The homepages are currently suboptimal with the theme unit test data. Either it's a full list of the 10 latest posts (which is gigantic) or it's the "Front page" page, which just contains 1 paragraph and nothing else.
In the theme unit test data there is a "Block: Image" post with multiple images in them that I think is a reasonable start: |
Agreed. Though I'd love for this post to also get a featured image, as that makes a big impact on performance for single post URLs in most themes - or alternatively, use that post but with the image as the very first block. Currently, I think the image is too far down the page to be in the initial viewport for most mobile devices. |
FWIW we don't actually test mobile at all. All tests run using Desktop Chrome with a 1280x720 viewport. (Though there the image is not in the initial viewport either) |
I updated the issue description to include the main goals for this year. Network emulation is something that has just come up recently (cc @westonruter), so I opened WordPress/gutenberg#69865 with the goal of adding this to the core performance tests. |
We talked about potential improvements to the core performance test suite in the past, but haven't worked on it much so far.
After we saw some slight performance regressions after 6.7 not only in lab data but also in the field, now is a good time to at least work on some quick wins.
Note
This is split out from #1093, which is a larger ticket with long discussions about multiple aspects of performance testing.
Q1:
Q2:
emulateNetworkConditions
helper gutenberg#69865Q3:
Stretch goals:
The text was updated successfully, but these errors were encountered: