Performance Chat Summary: 13 December 2022

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

Focus area updates

Images

@adamsilverstein @mikeschroder

GitHub project

  • @pbearne: Can we get the Media Library patch for dominant color merged? https://github.com/WordPress/performance/pull/587
    • @adamsilverstein: Not working yet, did the template replacing work but not the actual dominant colors
    • @pbearne will try to update this week

Feedback requested

Object Cache

@tillkruess @spacedmonkey

GitHub project

  • @spacedmonkey: Need code review for merge on:
    • https://github.com/WordPress/wordpress-develop/pull/3544
    • https://github.com/WordPress/wordpress-develop/pull/3365
    • https://github.com/WordPress/wordpress-develop/pull/3743
  • @spacedmonkey: Been trying to add caching to get_adjacent_post but filters make it hard

Feedback requested

Measurement

N/A

GitHub project

  • @joegrainger: Started engineering on Plugin Check this week, building out initial infrastructure
  • @flixos90: Server-Timing API PR has gotten some reviews and is lined up for Monday’s 1.8.0 release
    • Should help us significantly in assessing server timing metrics in the field; we’re currently extremely limited in that regard as the usual tools only give us client-side performance metrics
    • For example, other than baseline PHP execution time and DB query time metrics, it also includes one more specific metric, to measure the autoloaded options query (which will help us assess the potential impact of https://github.com/WordPress/performance/issues/526)
    • Very large PR (like SQLite) so the more reviews the better, hoping to merge tomorrow for 1.8.0, otherwise will need to punt to 1.9.0
    • Will be part of the plugin’s infrastructure, so other modules will be able to leverage it to add server timing metrics around their own behavior and validate how much a certain module improves server-side performance in the field

Feedback requested

JS & CSS

@aristath @sergiomdgomes

GitHub project

  • @mxbclang: Blog post on enhancing the Scripts API with a loading strategy
    • Proposal from @adamsilverstein on a new approach; please take time to review and comment
    • @adamsilverstein: Next step is a ticket/code proposal, thinking a new Trac ticket might be best
    • @mxbclang and @flixos90 agree on a new Trac ticket
    • @spacedmonkey: Is there a plan to use the defer API in core themes and plugins? Useful for developers to see it in action and provide a good example
      • @adamsilverstein: Yes, that’s the plan, to use it wherever we can in core, including themes
    • @spacedmonkey: Might be worth reaching out to the Gutenberg team to see if block editor could use this
      • @adamsilverstein: Greg was always asking for it and commented on the original proposal; will be sure to keep them in the loop
    • @johnbillion: Have any scripts in default themes been identified as being able to support defer? Probably fewer can support async
      • @adamsilverstein: For sure things like commenting script, but haven’t looked at core themes yet. Probably lots of things in wp-admin, as well.

Feedback requested

Database

@olliejones

GitHub project

  • @olliejones: @aristath finished the SQLite module https://github.com/WordPress/performance/pull/547 and we would welcome additional testing in advance of Monday’s release
    • @flixos90: Important to test the user experience on module activation. You’ll get an entirely new DB with some added logic to make the transition as seamless as possible. This is only the install; no content migration.
    • @spacedmonkey: Do we run unit tests with SQLite enabled?
      • @flixos90: We don’t, but that’s a great idea. Maybe we can add an extra scenario to the GH action for PHPUnit that always has the SQLite database active so we can spot any inconsistencies.
      • @spacedmonkey to open an issue

Feedback requested

Infrastructure

@flixos90

GitHub project

  • @flixos90: A few PRs have landed that fixed some issues with tests since PHP 8.2 caused breakage; kudos to @mukesh27 for working on those
  • @adamsilverstein: Proposed a new plan for A/B testing capability in the plugin https://github.com/WordPress/performance/issues/597 and would appreciate feedback

Feedback requested

Open floor

  • @spacedmonkey: Would love review on https://github.com/WordPress/wordpress-develop/pull/3609, one line of code that would result in big wins

Our next chat will be held on Tuesday, December 20, 2022 at 16:00 UTC in the #core-performance channel in Slack.

#core-js, #core-media, #performance, #performance-chat, #summary, #hosting-community

#core-performance, #meta

A WordPress Commenter

Recent Posts

Celebrating Community at WordCamp Asia 2026

WordCamp Asia 2026 brought the global WordPress community to Mumbai, India, from April 9–11, gathering…

7 days ago

How to Watch WordCamp Asia 2026 Live

WordCamp Asia 2026 will be available to watch live across three days of streaming, making…

2 weeks ago

From AI to Open Source at WordCamp Asia 2026

April 9-11, 2026 | Jio World Convention Centre, Mumbai, India WordCamp Asia 2026 brings the…

2 weeks ago

WordPress 7.0 Release Candidate 2

The second Release Candidate (“RC2”) for WordPress 7.0 is ready for download and testing! This…

3 weeks ago

WP Packages is Working the Way Open Source Should

When WP Engine acquired WPackagist on March 12, the WordPress developer community faced a familiar…

3 weeks ago

WordPress 7.0 Release Candidate 1

The first Release Candidate (“RC1”) for WordPress 7.0 is ready for download and testing! This…

4 weeks ago