performance-optimization

Identify and resolve software performance bottlenecks using profiling data and benchmark validation.

39|2|Updated Jan 31, 2026
One-click install
npx skills add https://github.com/hffmnnj/opencode-goopspec --skill performance-optimization-hffmnnj
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: performance-optimization
Source: https://github.com/hffmnnj/opencode-goopspec/tree/main/skills/performance-optimization
Command: npx skills add https://github.com/hffmnnj/opencode-goopspec --skill performance-optimization-hffmnnj

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Software performance problems cause latency, wasted compute, and poor user experience. This Skill provides a structured approach to measure, identify, and fix bottlenecks across code paths, databases, and infrastructure.

Core Features & Use Cases

  • Profiling-driven optimization: Collect and interpret profiling data to locate bottlenecks.
  • Targeted optimization patterns: Caching, batching, lazy loading, and parallelization to improve throughput and reduce latency.
  • Use Case: A web service experiences high p99 latency; apply this Skill to profile the request path, implement the recommended changes, and validate improvements with benchmarks.

Quick Start

Run a profiling session on your target workload, then apply the recommended optimizations and verify improvements with a follow-up benchmark.

Frequently Asked Questions about performance-optimization

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

FAQPage Schema
How do I identify performance bottlenecks in my application?

Profiling identifies performance bottlenecks by collecting data on code execution, memory usage, and resource consumption. Run a profiler on your target workload to pinpoint slow functions, database queries, or infrastructure delays causing latency or wasted compute.

What's the best way to optimize software performance using profiling data?

Profiling-driven optimization uses measured data to apply targeted techniques like caching, batching, lazy loading, and parallelization. Collect profiling output, identify the slowest paths, implement recommended changes, then validate improvements with benchmarks.

Can I use performance optimization across backend services, databases, and frontend apps?

Yes. This approach applies across backend services, databases, and frontend applications. It enforces a data-driven methodology using profiling outputs and targeted optimization techniques, then validates results through measurable benchmarks on any layer.

How do I validate that performance improvements actually work?

Benchmarking validates performance improvements by measuring latency, throughput, and resource usage before and after optimization. Run a follow-up benchmark after implementing changes to confirm measurable gains and detect regressions.

Why should I measure performance instead of optimizing by intuition?

Measuring performance prevents wasted effort on wrong targets. Profiling reveals which code paths, queries, or services actually consume the most resources, so optimization focuses on bottlenecks with the highest impact on latency and compute cost.

What optimization patterns reduce latency and improve throughput?

Caching stores frequently accessed data, batching groups operations to reduce overhead, lazy loading defers expensive work, and parallelization distributes work across cores. These targeted patterns address common bottlenecks in code paths, databases, and infrastructure.