GatherPress / gatherpress

Powering our community's event management needs.
https://wordpress.org/plugins/gatherpress/
GNU General Public License v2.0
82 stars 28 forks source link

Setup new performance tests workflow #832

Open carstingaxion opened 2 weeks ago

carstingaxion commented 2 weeks ago

Is your enhancement related to a problem? Please describe.

While working on #831 , which may include a huge performance benefit on the frontend, I thought it would be nice to have https://github.com/marketplace/actions/wp-performance-tests by @swissspidy already in place … 😉

Designs

No response

Describe alternatives you've considered

No response

Code of Conduct

swissspidy commented 2 weeks ago

Yay that would be awesome :-)

That GitHub action is currently a bit limited as it just allows you to check some specific URLs without doing any prior setup (e.g. create new events in GatherPress for example). So if you need something more custom right now, https://github.com/swissspidy/wp-performance-testing would be more suitable.

However, I am looking into solutions for this, using Playground and the Blueprint API (see https://github.com/swissspidy/wp-performance-action/pull/173). So you could specify a blueprint for setting up GatherPress with some dummy data first. The next step would then be to have a blueprint-like format for test scenarios as well. In other words, a declarative way to specify test scenarios and which metrics to collect where & when. Some feedback from actual projects would be very helpful there.