WordPress / performance

Performance plugin from the WordPress Performance Group, which is a collection of standalone performance modules.
https://wordpress.org/plugins/performance-lab/
GNU General Public License v2.0
356 stars 97 forks source link

Reusable Performance Testing Environment #852

Open swissspidy opened 11 months ago

swissspidy commented 11 months ago

The existing performance testing environments in core and Gutenberg need to be further improved, and made easier for everyone else to set up similar tests by making the setup as reusable as possible. These two objectives are somewhat intertwined and require work across multiple areas.

A lot of work has been done in this regard already, but there's still a lot to do to make the setup DRY and more reusable.

Done

In progress

To-do

swissspidy commented 11 months ago

Provide new shareable utils to easily display performance test results in a comprehensive way (e.g. nice output, base comparison)

Opened https://github.com/WordPress/gutenberg/issues/55852 for discussion.

Provide simple GitHub Action for running benchmarks

There is now https://github.com/swissspidy/wp-performance-action which uses Playwright under the hood

swissspidy commented 10 months ago

Provide documentation for plugin/theme developers on how to write performance tests using this toolchain

https://pascalbirchler.com/wordpress-performance-testing/