performance-testing
Load, stress, spike testing with k6/Locust, bottleneck analysis, and performance test automation
npx skills add cosmicstack-labs/mercury-agent-skills --skill performance-testing --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Performance Testing Load, stress, and spike test your systems to ensure reliability at scale. ## Types of Performance Tests | Type | Goal | Pattern | |------|------|---------| | Smoke | Verify basic perf with minimal load | 1-5 users for 1 min | | Load | Test under expected traffic | Ramp to target, hold 10-30 min | | Stress | Find breaking point | Ramp up until failure | | Spike | Handle sudden traffic bursts | Instant 10x load for 2-5 min | | Endurance | Detect memory leaks over time | Sustained load for 1-24 hrs | | Soak | Verify long-term stability | 50% load for hours | ## k6 Patterns ```javascript import http from 'k6/http'; import { check, sleep } from 'k6'; export const options = { stages: [ { duration: '2m', target: 100 }, // Ramp up { duration: '5m', target: 100 }, // Hold { duration: '1m', target: 0 }, // Ramp down ], thresholds: { http_req_duration: ['p(95)<500'], http_req_failed: ['rate<0.01'], }, }; export default function () { const res = http.get('https://api.example.com/users'); check(res, { 'status is 200': (r) => r.status === 200, 'response time < 300ms': (r) => r.timings.duration < 300, }); sleep(1); } ``` ## Bottleneck Analysis Flow 1. Run test → find slow en
- Types of Performance Tests
- k6 Patterns
- Bottleneck Analysis Flow
- Automation
What does the performance-testing skill do?
Load, stress, spike testing with k6/Locust, bottleneck analysis, and performance test automation
How do I install it?
Run `npx skills add cosmicstack-labs/mercury-agent-skills --skill performance-testing --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From cosmicstack-labs/mercury-agent-skills, a repository with 364 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.