Skip to content

Remove Server-Timing metric for the autoloaded options query time #1456

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

Merged

Conversation

felixarntz
Copy link
Member

Summary

The Server-Timing metric to capture the time that the autoloaded options query takes was initially introduced primarily to get a better idea for how severe the problem of autoloading options is across WordPress sites. This research was completed more than a year ago and has since already led to several WP core projects and enhancements, see e.g. https://make.wordpress.org/core/2024/06/18/options-api-disabling-autoload-for-large-options/.

At this point, there's no longer a good reason to keep this very specific Server-Timing metric in the Performance Lab plugin, so we can remove it - particularly since it's now slightly incorrect given that WordPress 6.6 introduced additional autoload values than yes that would need to be considered. It's not worth updating this though, it just made me remember this existed and should probably be removed now.

@felixarntz felixarntz added [Type] Enhancement A suggestion for improvement of an existing feature Infrastructure Issues for the overall performance plugin infrastructure [Plugin] Performance Lab Issue relates to work in the Performance Lab Plugin only labels Aug 9, 2024
@felixarntz felixarntz added this to the performance-lab n.e.x.t milestone Aug 9, 2024
Copy link

github-actions bot commented Aug 9, 2024

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: felixarntz <flixos90@git.wordpress.org>
Co-authored-by: westonruter <westonruter@git.wordpress.org>
Co-authored-by: swissspidy <swissspidy@git.wordpress.org>
Co-authored-by: mukeshpanchal27 <mukesh27@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@mukeshpanchal27 mukeshpanchal27 merged commit 3b49607 into trunk Aug 12, 2024
25 checks passed
@mukeshpanchal27 mukeshpanchal27 deleted the remove/autoloaded-options-query-server-timing branch August 12, 2024 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Infrastructure Issues for the overall performance plugin infrastructure [Plugin] Performance Lab Issue relates to work in the Performance Lab Plugin only [Type] Enhancement A suggestion for improvement of an existing feature
Projects
Status: Done 😃
Development

Successfully merging this pull request may close these issues.

4 participants