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

Do profiling of Optimization Detective (e.g. in Blackfire or Xhprof) to identify any bottlenecks #1888

Open
westonruter opened this issue Feb 26, 2025 · 0 comments
Labels
[Plugin] Optimization Detective Issues for the Optimization Detective plugin

Comments

@westonruter
Copy link
Member

Since Optimization Detective uses WP_HTML_Tag_Processor to apply optimizations on the response, it is critical that it operate as efficiently as possible. Any slowdowns during optimization largely defeat the point of Optimization Detective since they will lead to increased TTFB and thus a worse LCP, unless of course page caching is active (which it should still be anyway). I haven't done profiling yet so this would be good to do now before we get to 1.0.0 final.

Profiling should be done while Image Prioritizer and Embed Optimizer are active, on pages that are populated with images and embeds which would result in the various code paths of the tag visitors being followed.

@westonruter westonruter added the [Plugin] Optimization Detective Issues for the Optimization Detective plugin label Feb 26, 2025
@github-project-automation github-project-automation bot moved this to Not Started/Backlog 📆 in WP Performance 2025 Feb 26, 2025
@westonruter westonruter moved this from Not Started/Backlog 📆 to To Do 🔧 in WP Performance 2025 Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Plugin] Optimization Detective Issues for the Optimization Detective plugin
Projects
Status: To Do 🔧
Development

No branches or pull requests

1 participant