performance

Profile and validate performance optimizations across C++ Python Rust Java codebases.

1|Updated Mar 22, 2026
One-click install
npx skills add https://github.com/tswr/engineering-mastery-plugin --skill performance-tswr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: performance
Source: https://github.com/tswr/engineering-mastery-plugin/tree/main/skills/performance
Command: npx skills add https://github.com/tswr/engineering-mastery-plugin --skill performance-tswr

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill eliminates wasted effort on unproven optimizations and slow, resource-heavy applications by teaching evidence-based performance tuning, so you only improve code that actually delivers measurable gains.

Core Features & Use Cases

  • Evidence-Based Optimization Workflow: Follow a step-by-step process to measure baselines, identify bottlenecks via profiling, implement single changes, and validate improvements with statistically significant benchmarks.
  • Language-Specific Tooling: Access curated guides for C++, Python, Rust, and Java covering profiling tools, benchmark frameworks, and idiomatic optimization patterns for each ecosystem.
  • Systematic Performance Analysis: Use the USE method to diagnose resource constraints, apply memory hierarchy best practices to reduce cache misses, and optimize concurrency, database queries, and common code patterns.
  • Use Case: For example, if your API has 500ms p99 latency, use this Skill to profile the hot path, identify cache misses or inefficient N+1 queries, and implement validated fixes that reduce latency without hurting code maintainability.

Quick Start

Use the performance skill to profile the attached Python data processing script, identify the top 3 performance bottlenecks, and provide a prioritized list of evidence-based optimizations with expected impact.

Frequently Asked Questions about performance

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

FAQPage Schema
How do I reduce API latency using evidence-based profiling?

To reduce API latency using evidence-based profiling, you measure a baseline, use the USE method to identify bottlenecks, implement single changes, and validate improvements with statistically significant benchmarks.

What profiling tools should I use for Python performance optimization?

For Python performance optimization, this Skill provides curated tooling guidance covering profiling tools, benchmark frameworks, and idiomatic optimization patterns specific to the Python ecosystem.

How do I fix high cache misses and improve memory layout efficiency?

To fix high cache misses and improve memory layout efficiency, apply memory hierarchy best practices and systematic performance analysis to reduce cache misses and optimize common code patterns.

Does this performance tuning workflow support Rust and Java concurrency optimization?

Yes, this performance tuning workflow supports Rust and Java concurrency optimization by providing language-specific tooling, concurrency optimization patterns, and validation workflows across C++, Python, Rust, and Java.

What's the best way to validate that my database performance optimizations actually work?

The best way to validate database performance optimizations is to follow an evidence-based workflow that measures baselines, implements single changes, and validates improvements with statistically significant benchmarks.

Why should I avoid unvalidated performance optimizations in my codebase?

Unvalidated performance optimizations waste developer time and introduce unnecessary technical debt, making evidence-based profiling and systematic performance analysis essential for measurable, meaningful, and maintainable improvements.