[wp-trac] [WordPress Trac] #57687: Add automated performance testing CI workflow MVP
WordPress Trac
noreply at wordpress.org
Thu Feb 9 22:16:42 UTC 2023
#57687: Add automated performance testing CI workflow MVP
------------------------------+-----------------------------
Reporter: adamsilverstein | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Build/Test Tools | Version: trunk
Severity: normal | Keywords: needs-patch
Focuses: performance |
------------------------------+-----------------------------
This ticket is a follow up to my make core blog post
“[https://make.wordpress.org/core/2023/02/02/automated-performance-
monitoring-in-wordpress-core/ Automated performance monitoring in
WordPress core]” where we will work on and discuss the exact technical
implementation of this feature.
=== Technical requirements
As outlined in the blog post, the goals of the initial implementation will
be limited so we can land a first stable version quickly, then we can
iterate on the approach and exact metrics we collect over time.
The initial implementation should satisfy these requirements:
* Runs on each commit to trunk.
* Uses the standard wp-env environment, taking measurements from Twenty
Twenty One (classic) and Twenty Twenty Three (block) theme home pages
using the [https://github.com/WPTT/theme-test-data theme test data].
* Records median values over 10 runs for the following metrics using the
Server-Timing API: total WordPress load time, time the template takes to
load, and time that WordPress initialization takes before the template.
* Sends the recorded values to a new core performance dashboard which will
sit alongside the existing Gutenberg dashboard.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57687>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list