performance-testing

Measure Core Web Vitals and enforce performance budgets in Playwright tests.

Updated Jan 31, 2026
One-click install
npx skills add https://github.com/AbhiRKeesara/test-automation-skills --skill performance-testing-abhirkeesara
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: performance-testing
Source: https://github.com/AbhiRKeesara/test-automation-skills/tree/main/skills/performance-testing
Command: npx skills add https://github.com/AbhiRKeesara/test-automation-skills --skill performance-testing-abhirkeesara

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Slow pages and regressions erode user experience and conversion. This skill provides a structured approach to measuring and validating web performance within Playwright tests, helping teams catch performance issues early.

Core Features & Use Cases

  • Web Vitals measurement: capture LCP, FID, CLS and verify budgets in automated tests.
  • Network & resource analysis: inspect timing, throughput, and resource loading to identify bottlenecks.
  • Profiling & tracing: enable traces and profiling to investigate performance regressions across user flows.
  • Use Case: ensure homepage loads under 2.5s with stable CLS and acceptable TTFB across CI.

Quick Start

Start by instrumenting your Playwright tests to capture Core Web Vitals and network timings, then add budget checks and a basic performance assertion.

Frequently Asked Questions about performance-testing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I measure Core Web Vitals like LCP and CLS using Playwright tests?

Yes, you can capture LCP, FID, and CLS in Playwright tests by using performance observers to measure Core Web Vitals. The skill enables you to record these metrics and verify them against defined budgets within your automated test suite.

What is the best way to enforce performance budgets in automated web testing?

Enforcing performance budgets involves adding budget checks and basic performance assertions directly into your Playwright tests. This validates metrics like TTFB and resource loading against predefined limits automatically during CI runs.

Can I inspect network timing and resource loading bottlenecks with Playwright?

Yes, you can inspect network timing and resource loading with Playwright. The skill utilizes navigation timing and resource timing to analyze throughput and identify resource loading bottlenecks across user flows.

How do I enable tracing and profiling to investigate web performance regressions?

You enable tracing and profiling within your Playwright test suite to investigate web performance regressions. This captures detailed execution traces across user flows to help identify the root cause of slow page loads.

How do I ensure a homepage loads under 2.5 seconds with stable CLS in CI?

To ensure a homepage loads under 2.5 seconds with stable CLS in CI, you instrument Playwright tests to capture Web Vitals and network timings, then apply automated budget assertions to fail tests on performance regression.