PerformanceTestTrait script/stylesheet size counting needs to handle external URLs

Created on 27 June 2025, about 1 month ago

Problem/Motivation

I'm writing a performance test for an actual website code base - so far the only tests I know of are for core, Drupal CMS, and a contrib module.

This site has some modules installed that use CDN versions of stylesheets/scripts for third party integrations, and while they should be counted towards page weight, they shouldn't cause performance tests to explode.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Active

Version

11.0 🔥

Component

phpunit

Created by

🇬🇧United Kingdom catch

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024