<div style="text-align:center"><img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==" fifu-lazy="1" fifu-data-sizes="auto" fifu-data-srcset="https://i3.wp.com/www.awordpresscommenter.com/wp-content/uploads/2023/11/wordpress-6-4-performance-improvements.png?ssl=1&w=75&resize=75&ssl=1 75w, https://i3.wp.com/www.awordpresscommenter.com/wp-content/uploads/2023/11/wordpress-6-4-performance-improvements.png?ssl=1&w=100&resize=100&ssl=1 100w, https://i3.wp.com/www.awordpresscommenter.com/wp-content/uploads/2023/11/wordpress-6-4-performance-improvements.png?ssl=1&w=150&resize=150&ssl=1 150w, https://i3.wp.com/www.awordpresscommenter.com/wp-content/uploads/2023/11/wordpress-6-4-performance-improvements.png?ssl=1&w=240&resize=240&ssl=1 240w, https://i3.wp.com/www.awordpresscommenter.com/wp-content/uploads/2023/11/wordpress-6-4-performance-improvements.png?ssl=1&w=320&resize=320&ssl=1 320w, https://i3.wp.com/www.awordpresscommenter.com/wp-content/uploads/2023/11/wordpress-6-4-performance-improvements.png?ssl=1&w=500&resize=500&ssl=1 500w, https://i3.wp.com/www.awordpresscommenter.com/wp-content/uploads/2023/11/wordpress-6-4-performance-improvements.png?ssl=1&w=640&resize=640&ssl=1 640w, https://i3.wp.com/www.awordpresscommenter.com/wp-content/uploads/2023/11/wordpress-6-4-performance-improvements.png?ssl=1&w=800&resize=800&ssl=1 800w, https://i3.wp.com/www.awordpresscommenter.com/wp-content/uploads/2023/11/wordpress-6-4-performance-improvements.png?ssl=1&w=1024&resize=1024&ssl=1 1024w, https://i3.wp.com/www.awordpresscommenter.com/wp-content/uploads/2023/11/wordpress-6-4-performance-improvements.png?ssl=1&w=1280&resize=1280&ssl=1 1280w, https://i3.wp.com/www.awordpresscommenter.com/wp-content/uploads/2023/11/wordpress-6-4-performance-improvements.png?ssl=1&w=1600&resize=1600&ssl=1 1600w" width="1200" height="890" fifu-data-src="https://i3.wp.com/www.awordpresscommenter.com/wp-content/uploads/2023/11/wordpress-6-4-performance-improvements.png?ssl=1" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="WordPress 6.4 Performance Improvements" title="WordPress 6.4 Performance Improvements" srcset="https://i3.wp.com/www.awordpresscommenter.com/wp-content/uploads/2023/11/wordpress-6-4-performance-improvements.png?ssl=1 1200w, https://www.awordpresscommenter.com/wp-content/uploads/2023/11/wordpress-6-4-performance-improvements-300x223.png 300w, https://www.awordpresscommenter.com/wp-content/uploads/2023/11/wordpress-6-4-performance-improvements-1024x759.png 1024w, https://www.awordpresscommenter.com/wp-content/uploads/2023/11/wordpress-6-4-performance-improvements-768x570.png 768w" sizes="(max-width: 1200px) 100vw, 1200px" /></div><div>
<p>WordPress 6.4 is the third major release of the year that delivers a better user experience to site visitors by improving performance of the core software. <strong>This version improves server response time by ~4% over version 6.3.2</strong>. This, combined with additional frontend optimizations, leads to improvements to Largest Contentful Paint (LCP)—an important Core Web Vital. For example, Twenty Twenty-One (a classic theme) shows an improvement of ~4% for LCP and Twenty Twenty-Three (a block theme) shows a ~9% LCP improvement when run on WordPress 6.4 compared with 6.3.2 based on benchmarks conducted by the WordPress Performance team.</p>
<p>This release caps off an ambitious year of work for the Performance Team, with major improvements made in each release. You can read more about those improvements in the performance improvement summary posts for <a href="https://make.wordpress.org/core/2023/04/05/wordpress-6-2-performance-improvements-for-all-themes/">version 6.2</a> and <a href="https://make.wordpress.org/core/2023/08/07/wordpress-6-3-performance-improvements/">version 6.3</a>. While version 6.2 focused on server side improvements, and 6.3 focused more on client side improvements, this release was focused on continuing server side improvements while further optimizing and extending the improvements that were made earlier in the year. Meanwhile, the team continued iterating on the tools and methodologies used to measure and report on performance.</p>
<h2 class="wp-block-heading">Performance highlights for this release</h2>
<p>An overview of the performance enhancements in this release is included in the <a href="https://make.wordpress.org/core/2023/10/23/wordpress-6-4-field-guide/">WordPress 6.4 Field Guide</a> and you can read details about the following highlights in their individual dev-note posts:</p>
<p><strong>Server side improvements</strong></p>
<ul>
<li><a href="https://make.wordpress.org/core/2023/10/17/improvements-to-object-caching-in-wordpress-6-4/" data-type="link" data-id="https://make.wordpress.org/core/2023/10/17/improvements-to-object-caching-in-wordpress-6-4/">Improvements to object caching in WordPress 6.4</a></li>
<li><a href="https://make.wordpress.org/core/2023/10/17/new-option-functions-in-6-4/">New option functions in WordPress 6.4</a></li>
<li><a href="https://make.wordpress.org/core/2023/10/17/improvements-to-template-loading-in-wordpress-6-4/">Improvements to template loading in WordPress 6.4</a></li>
</ul>
<p><strong>Client side improvements</strong></p>
<ul>
<li><a href="https://make.wordpress.org/core/2023/10/18/image-loading-optimization-enhancements-in-6-4/">Image loading optimization enhancements in WordPress 6.4</a></li>
<li><a href="https://make.wordpress.org/core/2023/10/17/script-loading-changes-in-wordpress-6-4/">Script loading changes in WordPress 6.4</a></li>
<li><a href="https://make.wordpress.org/core/2023/10/17/replacing-hard-coded-style-tags-with-wp_add_inline_style/">Replacing hard coded style tags with wp_add_inline_style</a></li>
</ul>
<h2 class="wp-block-heading">Evolving our benchmarking methodology</h2>
<p>Previous performance benchmarks reported for each release were taken by <a href="https://profiles.wordpress.org/flixos90/" class="mention"><span class="mentions-prefix">@</span>flixos90</a> (the performance release lead) on his own computer, using a standardized set of <a href="https://make.wordpress.org/performance/handbook/measuring-performance/best-practices-for-performance-measurement/">best practices and tools</a>. This release we have attempted to automate the process in order to establish a reproducible methodology that can be used by any contributor using a standard set of tools. </p>
<p>The process for this release uses the <a href="https://github.com/swissspidy/compare-wp-performance">compare-wp-performance</a> GitHub action, originally developed by <a href="https://profiles.wordpress.org/swissspidy/" class="mention"><span class="mentions-prefix">@</span>swissspidy</a>, which sets up two standard test sites using <a href="https://developer.wordpress.org/block-editor/reference-guides/packages/packages-env/">wp-env</a> inside of a GitHub worker, takes a set of metrics based on 100 requests, and reports them in the action summary (<a href="https://github.com/joemcgill/compare-wp-performance/actions/runs/6789622397">example</a>). To account for variance between each run, this is done 5 times and the median values are used for reporting purposes.</p>
<h3 class="wp-block-heading">Revisiting previous releases</h3>
<p>Since the testing environment has an important impact on performance benchmarks, we wanted to revisit the previous versions from this year and apply the same methodology for comparison. Each of the following metrics show the percentage the metric either improved (negative numbers) or got worse (positive numbers) between versions.</p>
<h4 class="wp-block-heading">WordPress 6.2.3 vs 6.1.4</h4>
<p><strong>Twenty Twenty-One </strong></p>
<ul>
<li>LCP: +2.87%</li>
<li>Server Timing -4.21%</li>
</ul>
<p><strong>Twenty Twenty-Three</strong></p>
<ul>
<li>LCP: -4.72%</li>
<li>Server Timing -18.15%</li>
</ul>
<h4 class="wp-block-heading">WordPress 6.3.2 vs 6.2.3</h4>
<p><strong>Twenty Twenty-One </strong></p>
<ul>
<li>LCP: -10.82%</li>
<li>Server Timing -3.34%</li>
</ul>
<p><strong>Twenty Twenty-Three</strong></p>
<ul>
<li>LCP: -14.23%</li>
<li>Server Timing -10.21%</li>
</ul>
<h4 class="wp-block-heading">WordPress 6.4.0 vs 6.3.2</h4>
<p><strong>Twenty Twenty-One </strong></p>
<ul>
<li>LCP: -3.95%</li>
<li>Server Timing -4.05%</li>
</ul>
<p><strong>Twenty Twenty-Three</strong></p>
<ul>
<li>LCP: -9.06%</li>
<li>Server Timing -4.59%</li>
</ul>
<p>Detailed data can be found in <a href="https://docs.google.com/spreadsheets/d/1WQWDogvzPzof9VJiDAviB12lM_lbETlAljOufZrvcFs/edit#gid=832647379">this spreadsheet</a>, with links to the individual GitHub workflows.</p>
<h3 class="wp-block-heading">Future improvements</h3>
<p>While the methodology used for this release is an improvement over the previous process, there is much room for improvement, including finding ways to <a href="https://github.com/WordPress/performance/issues/849">stabilize the metrics</a> collected during benchmarks for releases and during development, improving the test content and use cases we test for these benchmarks, testing different configurations and environment characteristics (e.g., PHP versions, persistent object cache, etc.).</p>
<h2 class="wp-block-heading">Props</h2>
<p>Props to <a href="https://profiles.wordpress.org/joemcgill/" class="mention"><span class="mentions-prefix">@</span>joemcgill</a> for taking the time to write this extensive and detailed post, and <a href="https://profiles.wordpress.org/flixos90/" class="mention"><span class="mentions-prefix">@</span>flixos90</a> for review.</p>
<p class="o2-appended-tags"><a href="https://make.wordpress.org/core/tag/6-4/" class="tag"><span class="tag-prefix">#</span>6-4</a>, <a href="https://make.wordpress.org/core/tag/core/" class="tag"><span class="tag-prefix">#</span>core</a>, <a href="https://make.wordpress.org/core/tag/core-performance/" class="tag"><span class="tag-prefix">#</span>core-performance</a>, <a href="https://make.wordpress.org/core/tag/performance/" class="tag"><span class="tag-prefix">#</span>performance</a></p>
</div>

WordPress is moving closer to Google Docs-style collaborative editing. In an update on Phase 3…
The WordPress Foundation’s bid to trademark “Managed WordPress” and “Hosted WordPress” in the United States…
WordPress 6.9 Beta 3 is available for download and testing! This beta version of the…
WordPress co-founder Matt Mullenweg will deliver this year’s State of the Word in San Francisco…
Automattic has teamed up with the Internet Archive to launch a new plugin designed to…
The WordPress Plugins Team is now automatically scanning every plugin update on WordPress.org for security,…