rawgentic:optimize-perf

Automate performance optimization through a 15-step profiling and benchmarking workflow.

2|Updated Mar 3, 2026
One-click install
npx skills add https://github.com/3D-Stories/rawgentic --skill rawgentic-optimize-perf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rawgentic:optimize-perf
Source: https://github.com/3D-Stories/rawgentic/tree/main/skills/optimize-perf
Command: npx skills add https://github.com/3D-Stories/rawgentic --skill rawgentic-optimize-perf

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses performance bottlenecks in software by providing a structured, measurement-driven workflow to identify, optimize, and verify performance improvements.

Core Features & Use Cases

  • Baseline Profiling: Establishes current performance metrics before any changes.
  • Benchmark-Driven Development: Implements optimizations only after defining and writing tests that measure performance.
  • Quality Gates: Includes code review and CI verification to ensure optimizations are correct and safe.
  • Use Case: Optimize slow API response times by profiling the endpoint, identifying the bottleneck (e.g., a slow database query), implementing an index or query rewrite, and verifying the improvement with before/after benchmarks.

Quick Start

Use the optimize-perf skill to improve the performance of database queries.

Frequently Asked Questions about rawgentic:optimize-perf

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

FAQPage Schema
How do I optimize slow API response times using benchmarking?

To optimize slow API response times, establish baseline profiling metrics, identify bottlenecks like slow database queries, implement data-driven optimizations, and verify improvements with before and after benchmarks.

What is benchmark-driven development for performance optimization?

Benchmark-driven development for performance optimization is a workflow that requires defining and writing tests to measure performance before implementing any changes, ensuring optimizations are verified by quality gates and CI checks.

How do I identify performance bottlenecks via profiling?

Identifying performance bottlenecks via profiling involves establishing current baseline performance metrics, analyzing the data to locate slow queries or compute issues, and applying targeted optimizations across supported categories like memory and network.

Can I use this workflow to optimize frontend and database query performance?

Yes, you can use this workflow to optimize frontend and database query performance, as it supports various optimization categories including query, API, compute, memory, network, and frontend performance improvements.

What is the best way to verify performance improvements after code optimization?

The best way to verify performance improvements is by running before and after benchmarks and enforcing quality gates, including code review and CI verification, to ensure the optimizations are correct and safe.

Do I need to write tests before optimizing slow database queries?

Yes, you need to write tests before optimizing slow database queries because this benchmark-driven workflow implements optimizations only after defining and writing tests that measure the current performance baseline.