test-performance

Automate end-to-end performance testing with BenchmarkDotNet and K6 load tests.

20|3|Updated Aug 13, 2023
One-click install
npx skills add https://github.com/duranserkan/DRN-Project --skill test-performance
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-performance
Source: https://github.com/duranserkan/DRN-Project/tree/main/.agent/skills/test-performance
Command: npx skills add https://github.com/duranserkan/DRN-Project --skill test-performance

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Performance testing and benchmarking across .NET and JavaScript environments to quantify speed, throughput, and stability for software projects.

Core Features & Use Cases

  • BenchmarkDotNet integration for micro-benchmarks in C# projects.
  • K6 load-testing scripts for API endpoints to measure throughput and latency under different load profiles.
  • Performance regression tracking and automated report generation for baselines and comparisons.

Quick Start

Run the included BenchmarkDotNet and K6 scripts to generate initial performance baselines.

Frequently Asked Questions about test-performance

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

FAQPage Schema
How do I automate load testing and benchmarking for .NET and JavaScript APIs?

Automate load testing and benchmarking by combining BenchmarkDotNet micro-benchmarks with K6 load scripts to measure throughput, latency, and stability across .NET and JavaScript services. Configuration-driven scenarios generate baselines and automated reports for performance comparisons.

What is the best way to track performance regressions in CI?

Track performance regressions by generating baseline artifacts and automated comparison reports from your benchmark and load test runs. The tooling outputs deterministic reports that quantify speed and stability changes between software versions.

Can I run K6 load tests and soak tests for API endpoints?

Yes, K6 load testing scripts support measuring API endpoint throughput and latency under various load profiles, including soak tests. This allows you to evaluate system stability and performance over sustained periods.

Does BenchmarkDotNet work for micro-benchmarks in C# projects?

BenchmarkDotNet integration provides deterministic micro-benchmark execution for C# projects. It targets .NET libraries and services to quantify algorithm speed and throughput at the code level.

How do I generate performance baselines for software projects?

Generate performance baselines by running the included BenchmarkDotNet and K6 scripts against your .NET and JavaScript applications. These configuration-driven scenarios produce artifact reports for tracking performance over time.

What are the limitations of combining micro-benchmarks with load testing?

This approach targets .NET and JavaScript environments exclusively. While it supports configuration-driven scenarios, users working outside these ecosystems or needing UI performance testing will require alternative solutions.