Performance Testing of Drupal CMS 2.0 Surfaces Bottlenecks and Yields Frontend, Backend Fixes

Drupal CMS 2.0 Performance Bottlenecks Addressed in Pre-Release Testing

Tag1’s performance testing for Drupal CMS 2.0 using the Gander framework has led to multiple critical fixes in frontend aggregation, JavaScript loading, and backend caching, ensuring a smoother release experience.

Gander, an open-source testing framework, enables PHPUnit-based assertions to evaluate frontend and backend performance metrics across Drupal. These include CSS and JS payload sizes, database query counts, and cache operation totals. Output is visualized through Grafana dashboards via OpenTelemetry, giving maintainers a clear overview of performance regressions and gains.

Testing revealed that the new Mercury theme’s Tailwind CSS output caused over 2MB of CSS to be downloaded across six pages due to repeated aggregation of main.min.css. A fix was committed to exclude the already-minified file from aggregation. Issues were also opened for chained HTTP requests affecting fonts and scripts.

On the Byte site template, performance tests exposed that the Webform module includes a details library — and its jQuery dependency — on any page rendering a form, even when <details> elements aren’t used. This adds roughly 100KB of unnecessary JavaScript for anonymous users.

Backend testing showed a spike in database queries and caching overhead when using the Canvas module. In some cases, Canvas sets max_age: 0, disabling Drupal’s dynamic page cache. These issues are now being addressed through active issue queues and merge requests.

Many of the performance bottlenecks uncovered through Gander testing have already been fixed or are under review, ensuring that Drupal CMS 2.0 retains the performance gains achieved in version 1.0. The testing approach validates not just Drupal CMS core, but also contributed modules that power production sites across the ecosystem.

"Adding performance tests helps not only Drupal CMS itself, but many of Drupal’s most popular contributed modules, finding performance issues that affect sites in the wild."

Nathaniel Catchpole, Senior Performance Engineer, 
Tag1 Consulting

To explore full testing methods and results, visit the original report on the Tag1 blog.

Disclosure: This content is produced with the assistance of AI.

Disclaimer: The opinions expressed in this story do not necessarily represent that of TheDropTimes. We regularly share third-party blog posts that feature Drupal in good faith. TDT recommends Reader's discretion while consuming such content, as the veracity/authenticity of the story depends on the blogger and their motives. 

Note: The vision of this web portal is to help promote news and stories around the Drupal community and promote and celebrate the people and organizations in the community. We strive to create and distribute our content based on these content policy. If you see any omission/variation on this please reach out to us at #thedroptimes channel on Drupal Slack and we will try to address the issue as best we can.

Related Drupal Initiatives

Related Organizations

Upcoming Events

Latest Opportunities