-
Notifications
You must be signed in to change notification settings - Fork 104
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
Core performance tests improvements (quick wins) #1735
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) |
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.
The following items have been discussed with @felixarntz:
Short term:
Mid term:
Bonus:
We didn't send data to the dashboard for a while (May - October). During this time, and probably after the 6.6 release (August), there was a TTFB regression in block themes. Find commit in trunk between August and October to find potential culprit.The text was updated successfully, but these errors were encountered: