Performance Chat Summary: 14 November 2023

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

Announcements

Priority Projects

Server Response Time

Link to roadmap projects and link to the GitHub project board

Contributors: @joemcgill @swissspidy @thekt12 @mukesh27 @pereirinha

  • @swissspidy Translationtranslation The process (or result) of changing text, words, and display formatting to support another language. Also see localization, internationalization. performance:
    • Published blog post about merging the feature pluginFeature Plugin A plugin that was created with the intention of eventually being proposed for inclusion in WordPress Core. See Features as Plugins.
    • PR is still in code review
  • @flixos90 I updated https://github.com/WordPress/wordpress-develop/pull/5267 yesterday, which improves performance of parsing `theme.jsonJSON JSON, or JavaScript Object Notation, is a minimal, readable format for structuring data. It is used primarily to transmit data between a server and web application, as an alternative to XML.` files on every page load for sites using a persistent object cache, and I then opened an equivalent GutenbergGutenberg The Gutenberg project is the new Editor Interface for WordPress. The editor improves the process and experience of creating new content, making writing rich content much simpler. It uses ‘blocks’ to add richness rather than shortcodes, custom HTML etc. https://wordpress.org/gutenberg/ PR https://github.com/WordPress/gutenberg/pull/56095 (since that change should be implemented and tested in Gutenberg first)
    • PR is ready for review! You can use either PR for testing (as they are the same) but the Gutenberg one is the one that needs to be prioritized
  • @joemcgill Work is ongoing on our Template Loading focus. The most important thing for this week is probably to address #59719, which will unblock several of the other pieces of work.
  • @joemcgill I’ve also been tracking a 6.4 bugbug A bug is an error or unexpected result. Performance improvements, code optimization, and are considered enhancements, not defects. After feature freeze, only bugs are dealt with, with regressions (adverse changes from the previous version) being the highest priority. that was related to our earlier server response time work #59847

Database Optimization

Link to roadmap projects and link to the GitHub project board

Contributors: @mukesh27 @thekt12

JavaScriptJavaScript JavaScript or JS is an object-oriented computer programming language commonly used to create interactive effects within web browsers. WordPress makes extensive use of JS for a better user experience. While PHP is executed on the server, JS executes within a user’s browser. https://www.javascript.com/. & CSSCSS Cascading Style Sheets.

Link to roadmap project and link to the GitHub project board

Contributors: @mukesh27 @10upsimon @westonruter @flixos90

  • @flixos90 A few months ago, I had been exploring a PL module for the new Speculation Rules 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., which allows “speculative prerendering”. TL;DR when you hover over a link, it prerenders the relevant content under certain conditions so that when you actually click, the page loads instantly.
    • I yesterday updated the PR, which is still only a draft: https://github.com/WordPress/performance/pull/733 But there have been recent developments in the spec and it is likely going to be available in Chromium without requiring an Origin-Trial, at which point it may be worth advancing this further. Right now you can test it through the Origin-Trial if you like, instructions are on the PR.
    • I have also added a few new “learn more” resources to the PR description that may be worth reading to get familiar with the purpose and behavior of the API

Images

Link to roadmap projects and link to the GitHub project board

Contributors: @flixos90 @thekt12 @adamsilverstein @joemcgill @pereirinha @westonruter

  • @joemcgill I’m in the early stages of looking at how we can improve the way WP calculates the sizes attributes of images. I’m currently looking at whether we can add this information during 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. rendering, using the WP_HTML_Tag_Processor and the theme.json layout settings. I hope to have some ideas to share in the next few days.
  • @westonruter For image loading optimization, the pull request for the storage component is ready for review: https://github.com/WordPress/performance/pull/878 – next I’m working on the optimization piece to applied the stored page metrics that have been detected.

Measurement

Link to roadmap projects and link to the GitHub project board

Contributors: @adamsilverstein @joemcgill @mukesh27 @swissspidy @flixos90

  • @swissspidy We‘re now measuring more stuff in the coreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress. performance tests, like localized setup and memory usage

Ecosystem Tools

Link to roadmap projects and link to the GitHub repo

Contributors: @mukesh27 @swissspidy @westonruter

  • No updates this week

Creating Standalone Plugins

Link to GitHub overview issue

Contributors: @flixos90 @mukesh27 @10upsimon

Open Floor

  • @luisherranz I’d like to mention that @cbravobernal and I have started experimenting with possible APIs to support modules and import maps in WordPress.
    • We have started in Gutenberg, as we want to test them out in the frontend (with the Interactivity API) and the Editor (with the work @jsnajdr is doing on Block Lazy Loading).
    • The goals of this initiative and the report of our progress are here:
    • There are a couple of experiments already, and we plan to do a third one. It’d be great to have your feedback and insights
    • @flixos90 Great to see this move forward! Would you say the most useful way for us is to review the different PRs and their approaches? Are there other concrete questions where feedback is needed?
    • @luisherranz I’d say that for now, starting to get your opinion on those PRs or even the tracking issue would be great.
  • @clarkeemily Another Gutenberg issue brought up: https://github.com/WordPress/gutenberg/issues/55892 if anyone has time to review please?

Our next chat will be held on Tuesday, November 21, 2023 at 16:00 UTC in the #core-performance channel in Slack.

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