performance-engineering

Profile and optimize software performance across languages and runtimes.

28|1|Updated Aug 30, 2025
Search Tags:#benchmark
One-click install
npx skills add https://github.com/outfitter-dev/agents --skill performance-engineering
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: performance-engineering
Source: https://github.com/outfitter-dev/agents/tree/main/baselayer/skills/performance-engineering
Command: npx skills add https://github.com/outfitter-dev/agents --skill performance-engineering

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Guidance for measurement, profiling, and optimization across languages and runtimes.

Core Features & Use Cases

  • Metrics & benchmarks: latency, throughput, memory
  • Profiling tools: TypeScript/Bun and Rust tooling
  • Optimization discipline: NO OPTIMIZATION WITHOUT MEASUREMENT

Quick Start

Establish baseline measurements, then profile hot paths and verify improvements.

Frequently Asked Questions about performance-engineering

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

FAQPage Schema
How do I profile and optimize slow code in production?

Profiling identifies bottlenecks by measuring where code spends the most time or memory. Establish a baseline with realistic workload data, use language-specific profiling tools to locate hot paths, apply targeted optimizations, then re-measure to confirm gains and document tradeoffs.

What's the right way to benchmark performance improvements?

Benchmarking measures latency, throughput, and memory before and after optimization. Start with baseline metrics under realistic conditions, optimize specific bottlenecks identified through profiling, then re-benchmark to validate that improvements match your goals.

How do I detect and fix memory leaks in my application?

Memory leak detection uses profiling tools to track allocations and identify unreleased memory over time. Profile your application under sustained load, analyze retention patterns, optimize cleanup logic, then re-profile to confirm the leak is resolved.

Can I optimize database query performance in production environments?

Database query tuning optimizes latency by profiling slow queries, analyzing execution plans, and applying targeted changes like indexing or query restructuring. Measure baseline performance, profile the hot paths, optimize queries, then benchmark improvements in staging or production.

What tools work for profiling TypeScript and Rust code?

Performance profiling tools vary by language and runtime. TypeScript and Bun have specialized profiling tooling, while Rust offers dedicated performance analysis tools. Choose profilers that match your language and runtime, establish baselines, and measure bottlenecks before optimizing.

Why is measuring performance before optimizing important?

Measurement establishes baselines and reveals actual bottlenecks, preventing wasted effort on guessed problems. Without measurement, optimizations may target the wrong code path or introduce complexity without real gains; profiling ensures optimization targets the highest-impact areas.