Performance Chat Summary: 4 April 2023
Meeting agenda here and the full chat log is available beginning here on Slack.
Announcements
- 2.2.0 release date will be Mon April 17
Priority Projects
Server Response Time
Contributors: @joemcgill @spacedmonkey @aristath
- @aristath shared an update ahead of time:
- Autoloader: Work continues on https://github.com/WordPress/wordpress-develop/pull/3470 to add a PHP autoloader in Core. The results so far are encouraging and all tests (both manual and automated) has shown that performance is better and there are no apparent drawbacks. There are still a few minor things to polish, but it’s looking good so far.
- L10n: Experimenting with different approaches and methods to refactor the way localization works in WP, in collaboration with @sergeybiryukov, @afercia and @poena. Still in the early stages of exploration, trying to find ways and methods to make the process more performant.
- @joemcgill One thing that I wanted to bring up, was this post by @swisspidy about the new translations functionality he’s been working on. He has specifically asked for some performance help in that post, and I think it’s something that our team should take a look at. In the server timing research that I have been doing, I have found that processing translations can be a performance bottleneck for classic themes, specifically, so it would be nice if we could both help with this effort and improve performance overall for translated sites.
Database Optimization
Contributors: @aristath @spacedmonkey @olliejones @rjasdfiii
- @aristath shared an update ahead of time:
- SQLite: Almost all WP-Core automated tests now pass with SQLite. We continue tweaking it and addressing more edge-cases as we come across them. All changes are currently happening in the stand-alone repo on https://github.com/WordPress/sqlite-database-integration
JavaScript & CSS
Contributors: @mukesh27 @10upsimon @adamsilverstein
- @10upsimon for Enhancing the Scripts API with a loading strategy
- All work is now contained within our base feature branch
- An holistic code review process is underway, where we’re going over all code contributed as part of this work and reviewing it in a single PR against trunk
- Functional testing to follow on from the code review completion
- Inline documentation review will follow from that
Images
Contributors: @flixos90 @thekt12 @adamsilverstein @joemcgill
- @flixos90 No major updates from my side, still working on assessing the best path forward for enhancing the lazy-loading logic in core, which will also benefit
fetchpriority
. I feel I’m close to opening Trac tickets, but also noting that I’ll be AFK next week, so it’ll probably only in ~2 weeks from now
Measurement
Contributors: @adamsilverstein @olliejones @joemcgill @mukesh27
- @mukesh27 No major updates, @joemcgill I and started brainstorm on next step for Automated Performance Tests
Ecosystem Tools
Contributors: @joegrainger
- @joegrainger We have completed the initial infrastructure for the plugin and have moved onto testing! This week we have started reviewing the infrastructure holistically and begun QA testing. Once testing is complete we will start work improving upon the initial architecture and moving towards building out the additional checks. Progress can be seen on the GitHub here. As always, feel free to take a look and leave any thoughts/ideas you may have in the repo. Thanks!
Creating Standalone Plugins
Contributors: @flixos90 @mukesh27 @10upsimon
- @mukesh27 We finished engineering for Milestone 1 tasks and all PRs in final review. If anyone has some capacity please review. We are plaining to release our first WebP Uploads plugin soon.
- @flixos90 +1, if we can get those final PRs merged tomorrow, the idea would be to publish the WebP Uploads standalone plugin on Thursday with the new automated workflow (which deploys the plugin based on the same codebase that the module uses)
- Hopefully that all works out. Once the plugin is successfully released, we can proceed with the other ones (Dominant Color, Fetchpriority), and last but not least unify the currently 2 codebases from the SQLite plugin
New Projects / Proposals
- No updates
Open Floor
- No updates
Our next chat will be held on Tuesday, April 11, 2023 at 15:00 UTC in the #core-performance channel in Slack.