Third-party script impact profiled per script
Why it matters
Without profiling, decisions about how to load third-party scripts are guesses (ISO-25010 time-behaviour). A chat widget assumed to be lightweight may consume 120ms of main thread time on load; an analytics script deferred as low-priority may block a critical interaction. Without measured execution times per script, you cannot prioritize optimization work or justify removing a vendor. Unknown third-party impact is one of the most common causes of unexplained performance regressions when a new marketing tag is added.
Severity rationale
Info because unprofiled third-party scripts represent unknown latency risk rather than a confirmed performance problem — the impact could be negligible or severe, which is exactly the issue.
Remediation
Profile each third-party script individually using Chrome DevTools and document the findings in your codebase:
- Open DevTools → Performance → Record a page load.
- In the flame chart, filter by third-party domain using the Bottom-Up tab → "Group by Domain".
- Record main thread blocking time per script.
Document results in your project (e.g., docs/third-party-performance.md):
Third-Party Script Audit — 2026-04
- Google Tag Manager: 40ms main thread, load async ✓
- Segment Analytics: 120ms main thread — defer to afterInteractive
- Intercom Widget: 85ms + 200KB — lazy-load on scroll past fold
- HotJar Heatmap: 60ms — acceptable async
Use the WebPageTest "Third Party Summary" view for automated per-script attribution. Revisit this profile quarterly — third-party script weight changes with vendor updates outside your control.
DetectionPro
The detection method for this pattern is part of AuditBuffet Pro.
The full method (what to look for, pass and fail conditions, and how results get reported) ships inside the Performance Core Audit. The pattern definition, severity rationale, and remediation remain openly licensed under CC-BY-4.0.
External references
- iso-25010:2011 · performance-efficiency.time-behaviour — Time Behaviour
Taxons
History
- 2026-04-18·v1.0.0·Initial import from performance-core·automated