performance-testing

Define performance budgets and load-test plans for APIs, databases, and web apps.

Updated Feb 20, 2026
One-click install
npx skills add https://github.com/saajunaid/junai --skill performance-testing-saajunaid
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: performance-testing
Source: https://github.com/saajunaid/junai/tree/main/.github/skills/testing/performance-testing
Command: npx skills add https://github.com/saajunaid/junai --skill performance-testing-saajunaid

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Performance testing, load testing, and benchmarking for APIs, databases, and web applications. Use when planning load tests, setting performance budgets, profiling bottlenecks, or validating scalability. Covers Locust, k6, pytest-benchmark, browser performance, and database query profiling.

Core Features & Use Cases

  • Define budgets before testing with targets for response times, throughput, and resources.
  • Perform multi-tool load testing using Locust, k6, and pytest-benchmark; profile SQL queries and browser performance.
  • Generate structured test reports and practical anti-pattern guidance to improve reliability.

Quick Start

Describe and implement a basic performance test plan for a given API using Locust or k6 to establish budgets and baseline metrics.

Frequently Asked Questions about performance-testing

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

FAQPage Schema
How do I write a load test plan for an API using k6 or Locust?

To write a load test plan for an API, define performance budgets for response times and throughput, then implement multi-tool load testing using k6 or Locust to establish baseline metrics and validate scalability under expected traffic loads.

What are performance budgets and when do I need them for load testing?

Performance budgets are predefined targets for response times, throughput, and resource usage. You need them before load testing to establish clear pass/fail criteria, ensuring your APIs, databases, and web apps meet scalability requirements during pre-launch validation or incident response.

Can I profile SQL queries and database performance during load testing?

Yes, you can profile SQL queries and database performance during load testing. The skill supports Python and SQL profiling alongside multi-tool load testing to identify database bottlenecks and measure resource usage across your APIs and web applications.

Does pytest-benchmark work for setting API performance benchmarks?

Yes, pytest-benchmark works for setting API performance benchmarks. It integrates with multi-tool load testing alongside Locust and k6, allowing you to benchmark response times and throughput while enforcing predefined performance budgets for your APIs and web apps.

What is the best way to measure browser performance and throughput for web apps?

The best way to measure browser performance and throughput is by defining performance budgets, running multi-tool load tests, and profiling browser metrics alongside database queries to generate structured test reports and practical anti-pattern guidance for improved reliability.

Why should I define performance budgets before running API load tests?

You should define performance budgets before running API load tests to establish clear targets for response times, throughput, and resources. This ensures structured reporting and accurate bottleneck identification, preventing scalability issues during pre-launch validation or incident response.