[wp-trac] [WordPress Trac] #57687: Add automated performance testing CI workflow MVP

WordPress Trac noreply at wordpress.org
Tue Feb 28 02:48:20 UTC 2023


#57687: Add automated performance testing CI workflow MVP
--------------------------------------+--------------------------
 Reporter:  adamsilverstein           |       Owner:  mukesh27
     Type:  task (blessed)            |      Status:  assigned
 Priority:  normal                    |   Milestone:  6.2
Component:  Build/Test Tools          |     Version:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  performance
--------------------------------------+--------------------------
Changes (by joemcgill):

 * type:  enhancement => task (blessed)
 * milestone:  6.3 => 6.2


Comment:

 @mukesh27 and I have been working on an initial approach for this,
 inspired heavily from the
 [https://github.com/WordPress/gutenberg/blob/trunk/.github/workflows/performance.yml
 performance workflow in the Gutenberg repo]. I've opened an initial PR for
 this work above, which we've been testing against a clone of the
 https://www.codevitals.run/dashboard that we set up for testing purposes.

 A few things I'd specifically appreciate feedback from @desrosj (or
 someone else familiar with our GitHub workflow best practices) on are the
 following:

 1. The longest running step in the workflow is by far installing npm
 dependencies, assuming they're uncached, but I'm also not seeing these get
 cached between workflows and want to make sure we're not missing
 something.
 2. The publish step requires that we set up a secret token in the
 WordPress repo, and I'm unsure who has access to add the necessary token
 there.

 Finally, I'm proposing adding this as task (blessed) during the 6.2
 milestone, since this change only effects our workflow tooling, because I
 think it would benefit us to begin capturing performance metrics while
 we're still in the final weeks of this release cycle and will set us up
 for a full 6.3 cycle that is completely covered by comparative metrics.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57687#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list