performance-optimization

Identify performance bottlenecks and apply optimization techniques across C++, Rust, and TypeScript.

2|Updated Feb 10, 2026
One-click install
npx skills add https://github.com/timbrinded/kiln --skill performance-optimization-timbrinded
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: performance-optimization
Source: https://github.com/timbrinded/kiln/tree/main/plugins/performance-optimization/skills/performance
Command: npx skills add https://github.com/timbrinded/kiln --skill performance-optimization-timbrinded

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill helps identify and fix performance bottlenecks in code, leading to faster execution, reduced memory usage, and improved overall efficiency.

Core Features & Use Cases

  • Performance Analysis: Guides users through profiling and measurement to pinpoint slow code sections.
  • Optimization Techniques: Provides language-agnostic strategies for improving algorithms, memory layout, execution, and allocation patterns.
  • Use Case: If your application is running too slowly or consuming excessive memory, this skill can help you understand why and suggest concrete steps to optimize it.

Quick Start

Use the performance optimization skill to analyze the provided C++ code for performance issues.

Frequently Asked Questions about performance-optimization

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

FAQPage Schema
How do I identify code bottlenecks and optimize performance in C++ or Rust?

To optimize code performance, you must first profile your application to pinpoint slow execution sections, then apply measurement-driven techniques to improve algorithms, data structures, and memory layout for better resource utilization.

What is measurement-driven optimization and when should I use it?

Measurement-driven optimization is the process of profiling code to identify actual runtime bottlenecks before applying changes. You should use it whenever your application runs slowly or consumes excessive memory to ensure efficient design principles.

How do I fix high memory usage and slow execution speed in TypeScript?

To fix high memory usage and slow execution speed, analyze your code's allocation patterns and memory layout. Applying language-agnostic strategies for algorithms and execution efficiency can reduce resource consumption and improve runtime speed.

What's the best way to improve algorithm efficiency and data structure performance?

The best way to improve algorithm efficiency and data structure performance is through language-agnostic guidance that targets allocation patterns and memory layout, ensuring your code executes faster and uses resources more effectively.

Can I use language-agnostic optimization techniques for C++, Rust, and TypeScript?

Yes, you can apply language-agnostic optimization techniques across C++, Rust, and TypeScript. The strategies focus on universal execution efficiency, memory layout, and algorithm improvements rather than language-specific syntax.

Why does profiling fail to find memory usage issues in my code?

Profiling might fail to find memory usage issues if the measurement approach does not target correct allocation patterns or memory layout. Effective profiling requires identifying specific slow code sections and understanding execution efficiency.