Performance Chat Summary: 15 October 2024

Meeting agenda here and the full chat log is available beginning here on Slack.

Announcements

  • Welcome to our new members of #core-performance
  • WordPress 6.7 BetaBeta A pre-release of software that is given out to a large group of users to trial under real conditions. Beta versions have gone through alpha testing in-house and are generally fairly close in look, feel and function to the final product; however, design changes often occur as part of the process. 3 is October 15, with RC1 on October 22
  • Reminder due to daylight savings, this meeting will shift to 16:00 UTC from October 29

Priority Items

  • WordPress performance TracTrac An open source project by Edgewall Software that serves as a bug tracker and project management tool for WordPress. tickets
  • Performance Lab pluginPlugin A plugin is a piece of software containing a group of functions that can be added to a WordPress website. They can extend functionality or add new features to your WordPress websites. WordPress plugins are written in the PHP programming language and integrate seamlessly with WordPress. These can be free in the WordPress.org Plugin Directory https://wordpress.org/plugins/ or can be cost-based plugin from a third-party (and other performance plugins)
  • Active priority projects

WordPress Performance Trac Tickets

Performance Lab Plugin (and other Performance Plugins)

  • @westonruter Yesterday a major improvement to Optimization Detective was merged, Leverage URL metrics to reserve space for embeds to reduce CLS. On the surface this improves the Embed Optimizer plugin so that layout shifting caused by embeds (e.g. Tweets) is nearly eliminated. Under the covers, the improvements here change when a gathered URLURL A specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org metric is sent: instead of being sent after page load, it is sent later on when the page is left. This opens the door for capturing more metrics during the life of the page, including INP metrics. Additionally, this PR introduces a client-side extension framework using script modules.
  • @swissspidy will attempt to expand OD for video poster images this week
  • @joemcgill Last week, I updated https://github.com/WordPress/performance/issues/1511 with a summary of some technical discovery work from @mukesh27 and I, and shared that we’ll be picking up work on an implementation that uses the blockBlock Block is the abstract term used to describe units of markup that, composed together, form the content or layout of a webpage using the WordPress editor. The idea combines concepts of what in the past may have achieved with shortcodes, custom HTML, and embed discovery into a single consistent API and user experience. context APIAPI An API or Application Programming Interface is a software intermediary that allows programs to interact with each other and share data in limited, clearly defined ways. to improve sizes calculations based on layout context.
    • In support of that effort, we’re still working on solving #62046. The latest PR for that is here, which I hope to get some time to review today

Active Priority Projects

    Improving the calculation of image size attributes

    • Updated shared above

      Enable Client Side Modern Image Generation

      • @swissspidy Slow progress at the moment, GB folks are busy with 6.7 so I don’t really get much feedback for any open PRs. Also, a key dependency I’m using for web workers was just deprecated, so now I need to consider alternatives 

      Enhance Onboarding Experience of Performance Lab Plugin

      • @flixos90 This already predated last week’s meeting, but I don’t think I shared it here: In https://github.com/WordPress/performance/issues/1032#issuecomment-2384151984 I summarized some of the responses for the onboarding feedback form so far.
        • I think the biggest priority based on the onboarding feedback is to make the feature/plugin activation work via AJAX. Because right now it results in a fresh page load, it means quickly activating multiple features is unnecessarily slow. It can sometimes even lead to weird errors if users click multiple buttons too fast (before the page reloaded)
        • @flixos90 to open an issue for this

      Open Floor

      • @mukesh27 ran the benchmark for 6.7 Beta 3 and it shows the regressionregression A software bug that breaks or degrades something that previously worked. Regressions are often treated as critical bugs or blockers. Recent regressions may be given higher priorities. A "3.6 regression" would be a bug in 3.6 that worked as intended in 3.5.. For more details https://wordpress.slack.com/archives/C02KGN5K076/p1728969097396969
      • @adamsilverstein I have been working on a colab to measure the impact of the Improved Responsive Images plugin / improved sizes work. I plan to keep expanding it, but results look promising so far
      • @adamsilverstein At a high level, sites installing the plugin saw a 4 or 5 % improvement in CWV pass rates (mobile/desktop)
      • @westonruter Any idea why this would be since only lazy-loaded images get auto-sizes? Which in theory wouldn’t be relevant for LCP? Are some of the lazy-loaded images with auto-sizes erroneously in the initial viewport, and so a smaller size of the image is getting downloaded and thus is reducing networknetwork (versus site, blog) contention for the LCP image?
      • @joemcgill I’ve wondered the same thing. At least part of this could be that some of those sites are not lazy loading their LCP images properly. Some of that improvement could also be correlation with other Performance Lap improvements, since it’s hard to isolate causation in these queries
      • @adamsilverstein some of it is correlation – for example when users install more than one optimization at a time; in the colab I’m also digging into some numbers like the Lighthouse “Properly size images” audit that are more directly impacted by the plugin. There we can also see the impact with less image optimization left to do in the audit after the plugin is installed

      Our next chat will be held on Tuesday, October 22, 2024 at 15:00 UTC in the #core-performance channel in Slack.

      #core-performance, #hosting, #performance, #performance-chat, #summary