performance-testing
Skill33 starsChanged 33 days agoMITView on GitHub
Use when load testing a system. Covers workload modeling, ramp profiles, what to measure, finding the breaking point, and distinguishing a real bottleneck from a badly configured test. Trigger on "load test this api", "how many users can we handle", "write a k6 script", "find the breaking point". Do not use for a slow page in the browser — see the web-performance skill; for a slow query, see the database-performance skill.
12 other projects use a version of this.
Adopted by
Most recently taken up by
- AxlZero21/Skillstheir own version, first seen Nov 8, 2026
- bhoon716/skill-forgetheir own version, first seen Nov 2, 2026
- petrkindlmann/qa-skillstheir own version, first seen Oct 25, 2026
- proffesor-for-testing/agentic-qetheir own version, first seen Oct 25, 2026
- davidanthonyn/claude-skillstheir own version, first seen Oct 20, 2026
- mejbaurbahar/software-tester-skillstheir own version, first seen Oct 13, 2026
Used with
Projects with it also use visual-testing and security-testing.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
petrkindlmannSkillvisual-testing
Implement visual regression testing with Playwright screenshots, Chromatic, Percy, and Argos CI. Covers baseline management, diff threshold tuning, dynamic content masking, responsive viewport testing, and review/approval workflows. Use when: "visual test," "screenshot," "visual regression," "pixel diff," "snapshot diff," "update baselines," "Chromatic," "percy snapshot," "argos screenshot." Not for: bulk baseline regeneration after a redesign broke many tests — use selector-drift-recovery; cross-browser rendering matrices — use cross-browser-testing; general Playwright test structure — use playwright-automation. Related: playwright-automation, ci-cd-integration, cross-browser-testing.
Also in 3 projects that use this
mmondoraSkillsecurity-testing
Automated security testing in CI. SAST, DAST, dependency scanning, authorization testing, secret detection. Use when adding security scans to pipelines, writing tenant isolation tests, or configuring vulnerability scanning.
Also in 3 projects that use this
Other versions12 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 12
- handsontable/handsontable★ 22ksame name
- DaveSkender/Stock.Indicators★ 1.3ksame name
- proffesor-for-testing/agentic-qe★ 524same name
- petrkindlmann/qa-skills★ 209same name
- kid-sid/claude-spellbook★ 190same name
- belokonm/claude-supercode-skills★ 11same name
- bhoon716/skill-forge★ 4same name
- AxlZero21/Skills★ 1same name
- mejbaurbahar/fagun★ 1same name
- mejbaurbahar/software-tester-skills★ 1same name
2 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository137 other files it gives its agents.
- agent-instructionsSkill
- agent-memorySkill
- hooksSkill
- plugin-developmentSkill
- skill-authoringSkill
- skill-reviewSkill
- slash-commandsSkill
- subagentsSkill
- agent-designSkill
- context-engineeringSkill
- fine-tuningSkill
- llm-cost-optimizationSkill
- llm-evaluationSkill
- llm-integrationSkill
- mcp-serverSkill
- ml-pipelineSkill
- model-selectionSkill
- prompt-engineeringSkill
- ragSkill
- structured-outputSkill
- api-designSkill
- background-jobsSkill
- cachingSkill
- djangoSkill
- event-driven-architectureSkill
- fastapiSkill
- graphqlSkill
- microservicesSkill
- nestjsSkill
- realtime-websocketsSkill
- spring-bootSkill
- competitive-analysisSkill
- lead-researchSkill
- product-analysisSkill
- resumeSkill
- user-researchSkill
- database-performanceSkill
- data-modelingSkill
- data-qualitySkill
- pandasSkill
- postgresSkill
- sparkSkill
- brand-guidelinesSkill
- generative-artSkill
- themingSkill
- ui-reviewSkill
- visual-designSkill
- architecture-decisionsSkill
- bug-fix-protocolSkill
- cli-developmentSkill
- code-reviewSkill
- debuggingSkill
- design-patternsSkill
- domain-modelingSkill
- git-workflowSkill
- legacy-modernizationSkill
- refactoringSkill
- repository-explorationSkill
- simple-designSkill
- system-designSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 3 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 11 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
Before a known traffic event: a launch, a campaign, a migration.
- Distinctive: line 56
Test with realistic data volumes.
- Distinctive: line 58
Never load test production without agreement, a plan, and an abort switch.
“Common” is measured: kept by at least 6 in 10 of the 11 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Performance Testing
Purpose
Find out where a system breaks, and why, before production finds out for you. A load test that reports "we handled 1,000 requests per second" without stating the latency, the error rate, and where the bottleneck was tells you nothing useful.
When to Use
- Before a known traffic event: a launch, a campaign, a migration.
- Establishing a capacity baseline.
- Verifying that a performance fix worked.
- Finding the breaking point of a new service.
Capabilities
- Workload modeling from real traffic patterns.
- Load profiles: smoke, load, stress, spike, soak.
- Measuring the right things: latency percentiles, error rate, saturation.
- Bottleneck identification across the stack.
- Result interpretation and capacity projection.
Inputs
- Real traffic patterns: the mix of endpoints, the shape of the day, the payload sizes.
- The target: expected load, and the load you must survive.
- A production-like environment. A test against a laptop measures the laptop.
Outputs
- The breaking point, and the component that broke.
- Latency percentiles at each load level, not an average.
- A capacity conclusion: what this system can serve, and where it needs work.
Workflow
- Model the workload from reality — Take the endpoint mix from production access logs. A test that hammers one endpoint measures that endpoint, not your system.
- Ramp, do not slam — Start below expected load and increase gradually. The point at which latency starts climbing is more informative than the point at which it falls over.
- Measure percentiles, never averages — An average latency of 200ms is consistent with half the users waiting 400ms. Report p50, p95, p99, and the maximum.
- Watch the system, not just the client — CPU, memory, connection pools, database locks, queue depth. The load generator tells you what happened; the system tells you why.
- Find the first bottleneck, fix it, repeat — There is always another one behind it. Performance testing is iterative.
- Soak test separately — Run at moderate load for hours. Memory leaks, connection leaks, and disk-filling logs only appear over time.
Best Practices
- Validate the load generator first. If the client saturates its own CPU or its ephemeral ports, you are measuring the test, not the system. This mistake is extremely common.
- An error rate above zero invalidates the throughput number. Serving 5,000 requests per second while failing 8% of them is serving 4,600 requests per second, badly.
- Test with realistic data volumes. A query that is fast against 10,000 rows tells you nothing about its behavior against 10 million.
- Include think time and connection churn. Real users pause; a test with zero think time and perfect connection reuse is an unrealistic best case.
- Never load test production without agreement, a plan, and an abort switch.
- Report the bottleneck, not just the number. "We hit 2,000 rps" is trivia. "We hit 2,000 rps, at which point the database connection pool saturated at 40 connections and p99 went to 4 seconds" is actionable.
Examples
A ramp profile that finds the knee, with thresholds that fail the test:
import http from "k6/http";
import { check, sleep } from "k6";
export const options = {
scenarios: {
ramp: {
executor: "ramping-arrival-rate", // arrival rate: models users, not workers
startRate: 50,
timeUnit: "1s",
preAllocatedVUs: 200,
maxVUs: 2000,
stages: [
{ target: 200, duration: "3m" }, // expected peak
{ target: 500, duration: "3m" }, // 2.5x
{ target: 1000, duration: "3m" }, // find the knee
{ target: 2000, duration: "3m" }, // find the wall
],
},
},
thresholds: {
// The test fails if these are breached. A load test with no thresholds is a demo.
http_req_failed: ["rate<0.01"],
http_req_duration: ["p(95)<500", "p(99)<1500"],
},
};
// The endpoint mix, taken from production access logs — not a single hot path.
export default function () {
const r = Math.random();
if (r < 0.62) http.get(`${__ENV.BASE}/api/products`);
else if (r < 0.85) http.get(`${__ENV.BASE}/api/products/${randomSku()}`);
else if (r < 0.97) http.post(`${__ENV.BASE}/api/cart`, JSON.stringify(cartItem()));
else http.post(`${__ENV.BASE}/api/checkout`, JSON.stringify(order()));
sleep(Math.random() * 3 + 1); // think time: real users pause
}A result that is actually useful:
Breaking point: ~840 requests/second.
At 800 rps: p50 42ms p95 180ms p99 410ms errors 0.0%
At 900 rps: p50 51ms p95 890ms p99 3,200ms errors 0.4%
At 1000 rps: p50 2.1s p95 8.4s p99 timeout errors 11%
Bottleneck: the Postgres connection pool saturates at 40 connections. Beyond
~840 rps, requests queue for a connection; the queue wait dominates the response
time entirely. Database CPU peaked at 34% — the database was never the limit,
the pool in front of it was.
Fix: raise the pool to 100 and add PgBouncer in transaction mode.
Retest: breaking point moves to ~2,900 rps, where the database CPU finally
becomes the constraint at 89%.
Capacity conclusion: 2,900 rps sustained, against an expected peak of 200.
Headroom is adequate for the launch.Notes
- The result above is the most common finding in real load tests: the bottleneck was a configured limit, not a resource limit. The database was almost idle while the application queued behind its own pool.
- Arrival-rate executors (
ramping-arrival-rate) model users arriving independently of how fast the system responds. VU-based executors slow down when the system does, which hides the failure — it is the wrong model for finding a breaking point. - A soak test is the only way to find a slow leak. Everything looks fine for twenty minutes.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

