Core Performance Team Update: August 2023

Tickets and contributions

The Performance Team works on performance-related tickets in coreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress. and holds a fortnightly Bug Scrub on Wednesdays; check for current time.

In August, the Performance Team published a post regarding WordPress 6.3 performance improvements, highlighting WordPress 6.3 loads 27% faster for 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 and 18% faster for classic themes compared to WordPress 6.2, based on the Largest Contentful Paint (LCP) metric. These results are a major achievement in terms of performance. 

The focus in August was on tickets prioritized for the upcoming WordPress 6.4 release which will include making use of the new script loading strategy APIs in Core, improving autoloaded options and continuation of work on improving server performance bottlenecks, in particular template loading. WordPress 6.4 will also expand capabilities of the automated performance testing workflows and dashboard, and efforts will continue to improve theme.json APIs.

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 Plugin Directory or can be cost-based plugin from a third-party Checker

The Performance Team has successfully completed engineering and discussions have commenced with the Plugin Review Team Reps over the coming weeks to find a path forward for collaborative development. For detailed context and information, please refer to the project’s readme and documentation.

Performant Translations Plugin

Version 1 of the Performant Translations plugin was published to WordPress this week which uses a new approach to handling translation files, based on the in-depth analysis the team conducted earlier this year.

Team headlines and updates

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. US contributor dayContributor Day Contributor Days are standalone days, frequently held before or after WordCamps but they can also happen at any time. They are events where people get together to work on various areas of There are many teams that people can participate in, each with a different focus. saw several people visit the Performance Table, several items were worked on including

  • #58962 was completed, introducing new functions prime_options() , prime_options_by_group() and get_options(), to provide a way to load multiple options with a single database request
  • #58964 had a pull request implemented, introducing new functions to modify the autoload value for multiple options independently of their values
  • #58998 was fixed, to prevent races and stampedes when flush_rewrite_rules() is called on a busy site
  • #52579 was fixed by adding a new filterFilter Filters are one of the two types of Hooks They provide a way for functions to modify data of other functions. They are the counterpart to Actions. Unlike Actions, filters are meant to work in an isolated manner, and should never have side effects such as affecting global variables and output. to avoid a potentially expensive DB query
  • #59181 made a performance optimization of register_block_script_handle()
  • #55491 progress was made for removing unload event handlers from wp-admin
  • #58027 and #59225 had a solution identified via 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., to fix query 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. bugs by correctly relying on the main query and removing problematic workaround, which is partly related to performance as the underlying bugs affected the image loading optimization logic.

Performance Lab Plugin

Performance Lab plugin updates are released monthly on the third Monday of the month.

August’s release 2.6.0 includes infrastructure improvements and enhancements around Server-Timing, which allow controlling which action and filter hooksHooks In WordPress theme and development, hooks are functions that can be applied to an action or a Filter in WordPress. Actions are functions performed when a certain event occurs in WordPress. Filters allow you to modify certain functions. Arguments used to hook both filters and actions look the same. to measure through a dedicated UIUI UI is an acronym for User Interface - the layout of the page the user interacts with. Think ‘how are they doing that’ and less about what they are doing.. The release also saw some minor compatibility tweaks implemented for the Dominant Color Images module. The team is currently waiting for the next standalone plugin, Dominant Color Images, to be approved by the plugin review team. Work continues on the next set of enhancements around uncoupling the plugin features from the Performance Lab plugin related to the settings screen UI. 

The Performance Lab plugin has also reached 100k active installations this month!

#core-performance, #performance