Title: Performance Chat Summary: 21 March 2023
Author: Emily Clarke
Published: March 21, 2023

---

 [  ](https://profiles.wordpress.org/clarkeemily/) [Emily Clarke](https://profiles.wordpress.org/clarkeemily/)
4:55 pm _on_ March 21, 2023     
Tags: [core-media ( 116 )](https://make.wordpress.org/core/tag/core-media/),
[core-performance ( 153 )](https://make.wordpress.org/core/tag/core-performance/),
[performance ( 420 )](https://make.wordpress.org/core/tag/performance/), [performance-chat ( 346 )](https://make.wordpress.org/core/tag/performance-chat/),
[summary ( 983 )](https://make.wordpress.org/core/tag/summary/)   

# Performance Chat Summary: 21 March 2023

[Meeting agenda here](https://make.wordpress.org/core/2023/03/21/performance-chat-agenda-21-march-2023/)
and the full chat log is available [beginning here on Slack](https://wordpress.slack.com/archives/C02KGN5K076/p1679414352922119).

## Announcements

 * Release the 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/](https://wordpress.org/plugins/)
   or can be cost-based plugin from a third-party. 2.1.0 yesterday

## Priority Projects

### Server Response Time

[Link to roadmap projects](https://make.wordpress.org/performance/roadmap-2023/#category-server-response-time)

Contributors: [@joemcgill](https://profiles.wordpress.org/joemcgill/) [@spacedmonkey](https://profiles.wordpress.org/spacedmonkey/)
[@aristath](https://profiles.wordpress.org/aristath/)

 * [@spacedmonkey](https://profiles.wordpress.org/spacedmonkey/) I have been working
   on profiling translations and looking into how we can make them faster
 * [@joemcgill](https://profiles.wordpress.org/joemcgill/) working with [@spacedmonkey](https://profiles.wordpress.org/spacedmonkey/)
   on comparing notes this week on some initial profiling that we’ve done. I’m still
   struggling a bit to write all of this up in a shareable way, given that I’ve 
   got one arm in a sling, but we should have some good progress to share by next
   week.
 * [@spacedmonkey](https://profiles.wordpress.org/spacedmonkey/) committed the following
   issues
    - [Posts, Post Types: Use WP_Query internally in get_pages](https://github.com/WordPress/wordpress-develop/commit/eb6bf15bc77fdffc416a49568a93ac5545c9e468)
    - [Date / Time: Remove usage of mysql2date in generate_postdata method](https://github.com/WordPress/wordpress-develop/commit/1eba58d5a65a3a645d8018e9fc0fc735d8a1e0bf)
 * [@spacedmonkey](https://profiles.wordpress.org/spacedmonkey/) On autoloading,
   I did some quick profiling on it and a seeing slower performance after the change.
   Around 5ms on a home page view.
    - [@flixos90](https://profiles.wordpress.org/flixos90/) Yeah that covers roughly
      with benchmarks I had done a few months back
    - [@spacedmonkey](https://profiles.wordpress.org/spacedmonkey/) I tested this–
      [https://github.com/WordPress/wordpress-develop/pull/3470](https://github.com/WordPress/wordpress-develop/pull/3470)
      There maybe benefits for other requests types, like REST APIs
    - [@flixos90](https://profiles.wordpress.org/flixos90/) Autoloading is tricky.
      There is probably some memory benefit of not loading as much PHPPHP The web
      scripting language in which WordPress is primarily architected. WordPress 
      requires PHP 7.4 or higher code, but we’ll have to assess the performance 
      impact more. Of course autoloading is a good practice, but we also need a 
      good argument to support getting this into coreCore Core is the set of software
      required to run WordPress. The Core Development Team builds WordPress.. And
      if it actually slows down server response time, I would say we shouldn’t push
      it. But more research needs to be done.

### Database Optimization

[Link to roadmap projects](https://make.wordpress.org/performance/roadmap-2023/#category-database-optimization)

Contributors: [@aristath](https://profiles.wordpress.org/aristath/) [@spacedmonkey](https://profiles.wordpress.org/spacedmonkey/)
[@olliejones](https://profiles.wordpress.org/olliejones/) [@rjasdfiii](https://profiles.wordpress.org/rjasdfiii/)

 * [@spacedmonkey](https://profiles.wordpress.org/spacedmonkey/) I have been working
   on
    - [Only load post thumbnails if present in response](https://github.com/WordPress/wordpress-develop/pull/4210)
    - [Use `wp_cache_get_multiple` in `fill_descendants`](https://github.com/WordPress/wordpress-develop/pull/4129)
    - [@joemcgill](https://profiles.wordpress.org/joemcgill/) let’s move these tickets
      to the 6.3 milestone

### 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](https://www.javascript.com/)󠁿 & CSSCSS Cascading Style Sheets.

[Link to roadmap projects](https://make.wordpress.org/performance/roadmap-2023/#category-javascript-css)

Contributors: [@mukesh27](https://profiles.wordpress.org/mukesh27/) [@10upsimon](https://profiles.wordpress.org/10upsimon/)
[@adamsilverstein](https://profiles.wordpress.org/adamsilverstein/)

 * [@10upsimon](https://profiles.wordpress.org/10upsimon/) gave his update on Enhancing
   the Scripts 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. with a loading strategy ahead of time
    - Engineering for the epic as a whole has been completed and is in round 1 of
      code review and iteration – [work can be seen here](https://github.com/orgs/10up/projects/14/views/1).
      We anticipate an iterative feedback and implementation loopLoop The Loop is
      PHP code used by WordPress to display posts. Using The Loop, WordPress processes
      each post to be displayed on the current page, and formats it according to
      how it matches specified criteria within The Loop tags. Any HTML or PHP code
      in the Loop will be processed on each post. [https://codex.wordpress.org/The_Loop](https://codex.wordpress.org/The_Loop)
      to continue into next week, followed by a full and final code and functional
      review of all work by EOW next week, thus concluding engineering and being
      in a state to consider and implement a core merge proposal mid-April.
    - A developer testing plan is currently in review, which aims to support testing
      efforts of all engineering work carried out. This includes validation of all
      unit tests introduced as part of said work, and defines functional testing
      approaches, of which popular WordPress themes and plugins are included as 
      part thereof.
    - An approach for documentation (automated/code reference & community) has been
      discussed and is soon to be executed. Draft documentation items will be produced
      for review, with the aim of being released as soon after the core merge as
      possible.

### Images

[Link to roadmap projects](https://make.wordpress.org/performance/roadmap-2023/#category-images)

Contributors: [@flixos90](https://profiles.wordpress.org/flixos90/) [@thekt12](https://profiles.wordpress.org/thekt12/)
[@adamsilverstein](https://profiles.wordpress.org/adamsilverstein/) [@joemcgill](https://profiles.wordpress.org/joemcgill/)

 * [@adamsilverstein](https://profiles.wordpress.org/adamsilverstein/) I have an
   update about the image comparison game/study I ran at WordCampWordCamp WordCamps
   are casual, locally-organized conferences covering everything related to WordPress.
   They're one of the places where the WordPress community comes together to teach
   one another what they’ve learned throughout the year and share the joy. [Learn more](https://central.wordcamp.org/about/).
   Asia. In the game people compare two images generated by WordPress to the original
   uploaded image. The image quality setting between the images varies and the format
   changes as well, so far I’m testing with WebP and JPEG and quality settings from
   70 to 90.
 * [@adamsilverstein](https://profiles.wordpress.org/adamsilverstein/) Here is a
   [doc](https://docs.google.com/document/d/1WULwouQwqZf0sU4pU7fiKJ1aTEZR28_n6g6Pr0Hpmmg/edit?usp=sharing)
   with a summary of the results and a bit of analysis as well as a link to a sheet
   with the raw data:
    - To summarize the results though:
       * People loved playing the game and also became super engaged about images
       * We didn’t gather enough data to have statistically meaningful results
       * Anecdotally, most people struggled to tell which image was closer to the
         original
 * [@joemcgill](https://profiles.wordpress.org/joemcgill/) I’m starting a high-level
   review of our approach to calculating the `sizes` attribute for images in WordPress
   this week. It’s the first step for me to work on ways we can improve some of 
   the base assumptions that the current approach takes and see if we can improve
   it now that we have more information and 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. themes.
 * [@flixos90](https://profiles.wordpress.org/flixos90/) I have been researching
   the remaining problems with lazy-loaded LCP images, with some good findings. 
   I should have something to share in a week or two. Likely this will be in form
   of a few new TracTrac An open source project by Edgewall Software that serves
   as a bug tracker and project management tool for WordPress. tickets with things
   we should fix. It’s worth noting that still more than 20% of LCP images today
   are being lazy-loaded with the `loading` attribute. This is where WordPress core
   can help.
    - (Additionally ~10% of LCP images today are lazy-loaded through other custom
      JSJS JavaScript, a web scripting language typically executed in the browser.
      Often used for advanced user interfaces and behaviors. technologies, so that’s
      something where plugins and libraries will have to do the work. Maybe something
      we can help facilitate)

### Measurement

[Link to roadmap projects](https://make.wordpress.org/performance/roadmap-2023/#category-measurement)

Contributors: [@adamsilverstein](https://profiles.wordpress.org/adamsilverstein/)
[@olliejones](https://profiles.wordpress.org/olliejones/) [@joemcgill](https://profiles.wordpress.org/joemcgill/)
[@mukesh27](https://profiles.wordpress.org/mukesh27/)

 * [@joemcgill](https://profiles.wordpress.org/joemcgill/) Automated performance
   timing continues to be collected and was useful while reviewing potential performance
   regressions during release candidates for 6.2. We are starting to put some thought
   into what the next improvements should be. If anyone has specific ideas they 
   think should be considered, I’d certainly love input. Will share some ideas in
   the coming weeks.
 * [@adamsilverstein](https://profiles.wordpress.org/adamsilverstein/) I wanted 
   to link to a Drupal ticketticket Created for both bug reports and feature development
   on the bug tracker. where their  team is working on adding automated performance
   testing for Drupal  core: [https://www.drupal.org/project/drupal/issues/3346765](https://www.drupal.org/project/drupal/issues/3346765).
   The approach they are taking is quite different, with a plan to store performance
   traces using a tool like Open Telemetry or “jaeger” (new to me) – although they
   are starting more simply like we have. I feel like it is worth following their
   effort as we can always learn from each other

### Ecosystem Tools

[Link to roadmap projects](https://make.wordpress.org/performance/roadmap-2023/#category-ecosystem-tools)

Contributors: [@joegrainger](https://profiles.wordpress.org/joegrainger/)

 * [@joegrainger](https://profiles.wordpress.org/joegrainger/) We are working on
   the final elements on the Plugin Checker infrastructure with plans to complete
   this by the end of the week. From next week we’ll be performing initial testing
   and review of the infrastructure before working on the additional checks. Progress
   as always can be seen on the [GitHub repo](https://github.com/10up/plugin-check/)
   here. Please feel free to take a look and leave any thoughts/ideas you may have
   in the repo.

### Creating Standalone Plugins

[Link to GitHub overview issue](https://github.com/WordPress/performance/issues/656)

Contributors: [@flixos90](https://profiles.wordpress.org/flixos90/) [@mukesh27](https://profiles.wordpress.org/mukesh27/)
[@10upsimon](https://profiles.wordpress.org/10upsimon/)

 * [@mukesh27](https://profiles.wordpress.org/mukesh27/) working with [@10upsimon](https://profiles.wordpress.org/10upsimon/)
   continue to work on [Milestone 1](https://github.com/WordPress/performance/issues/656)
   tasks for Creating standalone plugins, and we are near to complete engineering
   soon. If anyone has some time, then review PR at [https://github.com/WordPress/performance/pulls?q=is%3Apr+is%3Aopen+label%3A%22Creating+standalone+plugins%22](https://github.com/WordPress/performance/pulls?q=is%3Apr+is%3Aopen+label%3A%22Creating+standalone+plugins%22)
   and share the feedback.
 * [@clarkeemily](https://profiles.wordpress.org/clarkeemily/) we’re aiming to complete
   engineering of Milestone 1 issues by end of next week
 * [@flixos90](https://profiles.wordpress.org/flixos90/) The idea is to publish 
   the WebP standalone plugin first, essentially to test that everything is working
   as expected. If we need to fix something, at least that way we’re only messing
   with one plugin instead of 4
    - Once we’ve established the publishing workflow functions as expected, we’ll
      publish the other standalone plugins

## New Projects / Proposals

 * A polite reminder, our **[2023 roadmap](https://make.wordpress.org/performance/roadmap-2023)**
   is intentionally broad. Despite there being clear workstreams envisioned within
   the highlighted priorities, the team aims to support contributors with additional
   related ideas

# Open Floor

 * n/a

**Our next chat will be held on [Tuesday, March 28, 2023 at 16:00 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20230328T1600)
in the [#core-performance channel](https://wordpress.slack.com/messages/core-performance/)
in [Slack](https://make.wordpress.org/chat/).**

[#core-media](https://make.wordpress.org/core/tag/core-media/), [#core-performance](https://make.wordpress.org/core/tag/core-performance/),
[#performance](https://make.wordpress.org/core/tag/performance/), [#performance-chat](https://make.wordpress.org/core/tag/performance-chat/),
[#summary](https://make.wordpress.org/core/tag/summary/)

### Share this:

 * [  Threads ](https://make.wordpress.org/core/2023/03/21/performance-chat-summary-21-march-2023/?share=threads)
 * [  Mastodon ](https://make.wordpress.org/core/2023/03/21/performance-chat-summary-21-march-2023/?share=mastodon)
 * [  Bluesky ](https://make.wordpress.org/core/2023/03/21/performance-chat-summary-21-march-2023/?share=bluesky)
 * [  X ](https://make.wordpress.org/core/2023/03/21/performance-chat-summary-21-march-2023/?share=x)
 * [  Facebook ](https://make.wordpress.org/core/2023/03/21/performance-chat-summary-21-march-2023/?share=facebook)
 * [  LinkedIn ](https://make.wordpress.org/core/2023/03/21/performance-chat-summary-21-march-2023/?share=linkedin)

 1. ![](https://secure.gravatar.com/avatar/a32b4c4fa59cb821c50a288a273d1593859c53ca5f90dd2a1791418c29ab7e0b?
    s=32&d=mm&r=g)
 2.  [Javier Casares](https://profiles.wordpress.org/javiercasares/)  7:45 am _on_ 
    March 26, 2023
 3. [@adamsilverstein](https://profiles.wordpress.org/adamsilverstein/) about “that
    game”, is there a URLURL A specific web address of a website or web page on the
    Internet, such as a website’s URL www.wordpress.org / tool we should promote in
    other WordCampWordCamp WordCamps are casual, locally-organized conferences covering
    everything related to WordPress. They're one of the places where the WordPress 
    community comes together to teach one another what they’ve learned throughout the
    year and share the joy. [Learn more](https://central.wordcamp.org/about/).? I would
    like to propose to WordCamp Barcelona having a screen on a booth where people can
    play that and retrieve more data…
 4.  * ![](https://secure.gravatar.com/avatar/a32b4c4fa59cb821c50a288a273d1593859c53ca5f90dd2a1791418c29ab7e0b?
       s=32&d=mm&r=g)
     *  [Javier Casares](https://profiles.wordpress.org/javiercasares/)  8:43 am _on_
       March 26, 2023
     * Well, so I created [https://www.wpimagequality.com/](https://www.wpimagequality.com/)
       for the game… I can provide access to whoever wants to retrieve the data. I’m
       going to speak with the WordCampWordCamp WordCamps are casual, locally-organized
       conferences covering everything related to WordPress. They're one of the places
       where the WordPress community comes together to teach one another what they’ve
       learned throughout the year and share the joy. [Learn more](https://central.wordcamp.org/about/).
       Barcelona people and try to have some TV to do the game.
        - ![](https://secure.gravatar.com/avatar/82e095c8bc229017b128e53940ea534aa31f6624431bedee24c7e8756e42dd1c?
          s=32&d=mm&r=g)
        -  [Adam Silverstein](https://profiles.wordpress.org/adamsilverstein/)  2:02
          pm _on_ March 27, 2023
        - Javier – glad you got it figured out! I have some plans to modify the game
          a bit to collect better data – always comparing webp to jpeg, regularly including
          the 82 (default) jpeg) and improving the data export. Please watch the repo
          for updates and let me know how things work for you.

Comments are closed.

# Post navigation

[← Performance Chat Agenda: 21 March 2023](https://make.wordpress.org/core/2023/03/21/performance-chat-agenda-21-march-2023/)

[Dev Chat Agenda, Wednesday March 22, 2023 →](https://make.wordpress.org/core/2023/03/21/dev-chat-agenda-wednesday-march-22-2023/)