performance-benchmarker

Design and execute load tests with k6 to identify performance bottlenecks.

2|Updated Apr 6, 2023
One-click install
npx skills add https://github.com/aibangjuxin/knowledge --skill performance-benchmarker
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: performance-benchmarker
Source: https://github.com/aibangjuxin/knowledge/tree/main/skills/testing/performance-benchmarker
Command: npx skills add https://github.com/aibangjuxin/knowledge --skill performance-benchmarker

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses the critical need to ensure software applications can handle expected user loads and meet performance targets, preventing issues like slow response times and system crashes under high traffic.

Core Features & Use Cases

  • Performance Requirement Definition: Helps define SLOs and performance goals.
  • Load Test Scripting: Designs and scripts realistic load tests using tools like k6.
  • Bottleneck Identification: Analyzes test results to pinpoint performance bottlenecks in code, databases, or networks.
  • Profiling: Uses profiling tools to identify specific code sections causing performance degradation.
  • Reporting: Generates detailed performance reports with actionable recommendations.
  • Use Case: Before launching a new high-traffic API, use this Skill to simulate thousands of concurrent users, identify latency issues, and optimize the API's performance to meet a p99 latency target of under 200ms.

Quick Start

Use the performance-benchmarker skill to create a load test script for the '/api/v1/users' endpoint that simulates 1000 concurrent users.

Frequently Asked Questions about performance-benchmarker

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

FAQPage Schema
How do I test API performance for high traffic before launch?

To test API performance for high traffic, you can simulate thousands of concurrent users with load testing scripts to identify latency issues and ensure the API meets specific service level objectives like a p99 latency target.

What is the best way to identify code bottlenecks causing performance degradation?

The best way to identify code bottlenecks causing performance degradation is by using profiling tools to analyze load test results and pinpoint specific code sections, database queries, or network issues causing the slowdown.

How do I script a load test to measure software scalability?

You script a load test to measure software scalability by defining realistic user scenarios and simulating concurrent requests using load testing tools like k6, which measures speed and resource consumption under expected user loads.

When do I need to define performance requirements and SLOs for my application?

You need to define performance requirements and SLOs when preparing for high-traffic events, ensuring your application meets specific speed and reliability targets to prevent slow response times and system crashes.

Can I generate detailed performance reports with actionable optimization insights?

Yes, you can generate detailed performance reports with actionable optimization insights, analyzing test results to provide specific recommendations for resolving bottlenecks in code, databases, or network configurations.