Title: WordPress 6.5 performance improvements
Author: Joe McGill
Published: April 23, 2024
Last modified: April 24, 2024

---

 [  ](https://profiles.wordpress.org/joemcgill/) [Joe McGill](https://profiles.wordpress.org/joemcgill/)
9:52 pm _on_ April 23, 2024     
Tags: [6-5 ( 76 )](https://make.wordpress.org/core/tag/6-5/),
[core ( 762 )](https://make.wordpress.org/core/tag/core/), [core-performance ( 153 )](https://make.wordpress.org/core/tag/core-performance/),
[performance ( 420 )](https://make.wordpress.org/core/tag/performance/)   

# WordPress 6.5 performance improvements

_This post is the latest in a series of updates focused on the performance improvements
of major releases (see _[_6.4_](https://make.wordpress.org/core/2023/11/13/wordpress-6-4-performance-improvements/)_,_
[_6.3_](https://make.wordpress.org/core/2023/08/07/wordpress-6-3-performance-improvements/)_,
and _[_6.2_](https://make.wordpress.org/core/2023/04/05/wordpress-6-2-performance-improvements-for-all-themes/)_)._

[WordPress 6.5, “Regina”](https://wordpress.org/news/2024/04/regina/) is the first
major version of WordPress released in 2024. This release includes several important
performance enhancements impacting the user experience for site visitors, along 
with remarkable improvements to editor performance. Importantly, WordPress 6.5 delivers
site performance that is similar, if not superior to previous versions, despite 
the addition of [many significant new features](https://make.wordpress.org/core/2024/03/15/wordpress-6-5-field-guide/#new-features).

In our analysis of the Twenty Twenty-four theme, we observed modest changes in website
front-end performance. The median LCP time shows a slight 0.81% decline in non-translated
tests, with a 0.95% improvement in translated tests. Similarly, the Twenty Twenty-
one theme exhibits a 1.13% drop in median LCP times in non-translated tests, yet
showcases a notable 4.50% improvement in translated tests. Further details on the
methodology behind these measurements are provided later in this article.

## Key improvements

### Improved performance for translated sites

This version of WordPress [includes a new localization system](https://make.wordpress.org/core/2024/02/27/i18n-improvements-6-5-performant-translations/)
that loads translationtranslation The process (or result) of changing text, words,
and display formatting to support another language. Also see [localization](https://make.wordpress.org/core/2024/04/23/wordpress-6-5-performance-improvements/?utm_source=chatgpt.com&output_format=md#l10n),
[internationalization](https://make.wordpress.org/core/2024/04/23/wordpress-6-5-performance-improvements/?utm_source=chatgpt.com&output_format=md#i18n).
files more quickly, and introduces support for providing translation files as native
PHPPHP The web scripting language in which WordPress is primarily architected. WordPress
requires PHP 7.4 or higher files. As [the merge announcement summarizes](https://make.wordpress.org/core/2023/11/08/merging-performant-translations-into-core/),
these enhancements are expected to bring a 23.5% improvement in loading time and
41.4% reduction in memory consumption for translations.

### A significantly faster editing experience

A major focus of this release was improving performance while editing your site.
WordPress 6.5 delivers 5x faster typing processing, 2x faster editor loading, and
a 60% reduction in pattern loading, based on measurements collected as part of the
overall effort documented [in this GitHub issue](https://github.com/WordPress/gutenberg/issues/57935).

### Improvements for registering 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. variations

The WordPress block editing system allows blocks to be registered with a set of 
[block variations](https://developer.wordpress.org/news/2023/08/29/an-introduction-to-block-variations/),
which makes it easy to define different versions of a block without needing to duplicate
the whole block. This version of WordPress adds support for [registering block variations only when used](https://make.wordpress.org/core/2024/02/29/performance-improvements-for-registering-block-variations-with-callbacks/),
avoiding costly processing when this data is unnecessary, which makes server rendering
[5% faster](https://core.trac.wordpress.org/ticket/59969#comment:70).

### Support for AVIF image format

[WordPress 6.5 supports AVIF](https://make.wordpress.org/core/2024/02/23/wordpress-6-5-adds-avif-support/),
a modern image format that offers significant improvements in image quality and 
compression over previous formats like JPEG, PNG, and even WebP.  AVIF images can
be up to 50% smaller than JPEGs while maintaining the same image quality.

### Additional performance focused changes

In total, there were [20 performance related improvements](https://core.trac.wordpress.org/query?status=closed&focuses=~performance&milestone=6.5&group=milestone&col=id&col=summary&col=status&col=focuses&col=owner&col=type&col=priority&order=priority)
included in this release, split evenly between new enhancements (10) and 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. fixes (10).

## How release performance is measured

The performance measurements used for the overview are based on benchmarks^([1](https://make.wordpress.org/core/2024/04/23/wordpress-6-5-performance-improvements/?utm_source=chatgpt.com&output_format=md#78fce2f7-cd01-4105-8b4c-a37b0def3362))
conducted using an [automated workflow](https://github.com/joemcgill/compare-wp-performance)
on GitHubGitHub GitHub is a website that offers online implementation of git repositories
that can easily be shared, copied and modified by other developers. Public repositories
are free to host, private repositories require a paid subscription. GitHub introduced
the concept of the ‘pull request’ where code changes done in branches by contributors
can be reviewed and discussed before being merged by the repository owner. [https://github.com/](https://github.com/)
action runners. Benchmarks were taken of the homepage of the Twenty Twenty-one, 
Twenty Twenty-three, and Twenty Twenty-four themes with and without translations
installed, comparing WordPress 6.5 with WordPress 6.4.3 (the latest version of WP
6.4 available when 6.5 was released).

Performance metrics were collected from 100 runs for both CoreCore Core is the set
of software required to run WordPress. The Core Development Team builds WordPress.
Web Vitals (CWV) and [Server-Timing headers](https://make.wordpress.org/performance/handbook/measuring-performance/benchmarking-php-performance-with-server-timing/)
provided by 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. using [CLI scripts from the WPP Research repo](https://github.com/GoogleChromeLabs/wpp-research/tree/main/cli).

### Benchmark Data

**No translation (en_EN):**

 * [Twenty Twenty-one](https://docs.google.com/spreadsheets/d/1C7dHMhPp0gCh2WTWwcKNiWUupQurBgljUOlryKss2bY/edit#gid=0)
 * [Twenty Twenty-three](https://docs.google.com/spreadsheets/d/1C7dHMhPp0gCh2WTWwcKNiWUupQurBgljUOlryKss2bY/edit#gid=399178767)
 * [Twenty Twenty-four](https://docs.google.com/spreadsheets/d/1C7dHMhPp0gCh2WTWwcKNiWUupQurBgljUOlryKss2bY/edit#gid=1836112993)

**Translation (it_IT):**

 * [Twenty Twenty-one](https://docs.google.com/spreadsheets/d/1C7dHMhPp0gCh2WTWwcKNiWUupQurBgljUOlryKss2bY/edit#gid=1110354133)
 * [Twenty Twenty-three](https://docs.google.com/spreadsheets/d/1C7dHMhPp0gCh2WTWwcKNiWUupQurBgljUOlryKss2bY/edit#gid=428153897)
 * [Twenty Twenty-four](https://docs.google.com/spreadsheets/d/1C7dHMhPp0gCh2WTWwcKNiWUupQurBgljUOlryKss2bY/edit#gid=1140605575)

## Follow up from this release

Each release, the Performance Team looks for opportunities to improve the performance
of WordPress for the following releases, which includes identifying ways we can 
improve the tooling and processes we use to support the performance practice. For
example, we’re collecting opportunities to improve our performance testing in [this GitHub issue](https://github.com/WordPress/performance/issues/1093).

You can also follow progress on other performance-related work being planned for
the WordPress 6.6 release [in Trac](https://core.trac.wordpress.org/query?status=accepted&status=assigned&status=closed&status=new&status=reopened&status=reviewing&focuses=~performance&milestone=6.6&groupdesc=1&group=resolution&col=id&col=summary&col=status&col=milestone&col=owner&col=type&col=priority&col=keywords&order=priority)
and in [the Gutenberg repository](https://github.com/WordPress/gutenberg/issues/60435).
A full list of the Performance Team’s priorities for the year is available on the
[2024 Roadmap page](https://make.wordpress.org/performance/roadmap-2024/) in the
team’s handbook. Come join us in making WordPress as performant as possible.

Props to [@flixos90](https://profiles.wordpress.org/flixos90/), [@peterwilson](https://profiles.wordpress.org/peterwilson/),
[@adamsilverstein](https://profiles.wordpress.org/adamsilverstein/), [@annezazu](https://profiles.wordpress.org/annezazu/),
and [@jorbin](https://profiles.wordpress.org/jorbin/) for contributing to this post.

 1.  Benchmark measurements use lab data to gather performance metrics under controlled
    conditions and may not reflect the way the software performs in the field. For 
    more on the differences between Lab and Field data, see [this article](https://web.dev/articles/lab-and-field-data-differences).
    [↩︎](https://make.wordpress.org/core/2024/04/23/wordpress-6-5-performance-improvements/?utm_source=chatgpt.com&output_format=md#78fce2f7-cd01-4105-8b4c-a37b0def3362-link)

[#6-5](https://make.wordpress.org/core/tag/6-5/), [#core](https://make.wordpress.org/core/tag/core/),
[#core-performance](https://make.wordpress.org/core/tag/core-performance/), [#performance](https://make.wordpress.org/core/tag/performance/)

### Share this:

 * [  Threads ](https://make.wordpress.org/core/2024/04/23/wordpress-6-5-performance-improvements/?share=threads)
 * [  Mastodon ](https://make.wordpress.org/core/2024/04/23/wordpress-6-5-performance-improvements/?share=mastodon)
 * [  Bluesky ](https://make.wordpress.org/core/2024/04/23/wordpress-6-5-performance-improvements/?share=bluesky)
 * [  X ](https://make.wordpress.org/core/2024/04/23/wordpress-6-5-performance-improvements/?share=x)
 * [  Facebook ](https://make.wordpress.org/core/2024/04/23/wordpress-6-5-performance-improvements/?share=facebook)
 * [  LinkedIn ](https://make.wordpress.org/core/2024/04/23/wordpress-6-5-performance-improvements/?share=linkedin)

# Post navigation

[← WordPress 6.6 call for volunteers update](https://make.wordpress.org/core/2024/04/23/wordpress-6-6-call-for-volunteers-update/)

[Agenda, Dev Chat, Wednesday April 24, 2024 →](https://make.wordpress.org/core/2024/04/24/agenda-dev-chat-wednesday-april-24-2024/)