Performance Testing in the Wild: Building a Safety Net with Drupal Core and Gander

29 Sep 2026, 3:35 pm (UTC)
20 Minutes

Speakers

Drupal core’s PerformanceTestBase and PerformanceTestTrait provide a way to add performance assertions to PHPUnit tests and catch regressions at the merge-request stage. The approach sets performance budgets in a CI/CD pipeline and fails builds when thresholds are exceeded, without requiring dedicated infrastructure.

The walkthrough covers writing performance tests, defining budgets by content type and user role, configuring a CI runner, and reading results from failed builds. It also addresses budget iteration, flaky CI metrics, and team engagement. Gander’s OpenTelemetry stack helps diagnose failures locally with Grafana Tempo’s trace waterfall and monitor trends by exporting traces to Grafana Cloud on release tags.

Other Sessions