extreme-software-optimization

Profile and optimize slow Rust, Go, TypeScript, and Python workflows with verification.

Updated May 28, 2026
One-click install
npx skills add https://github.com/haryelramalho/skills --skill extreme-software-optimization-haryelramalho
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: extreme-software-optimization
Source: https://github.com/haryelramalho/skills/tree/main/skills/community/extreme-software-optimization
Command: npx skills add https://github.com/haryelramalho/skills --skill extreme-software-optimization-haryelramalho

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you speed up software without guessing, by turning slow paths into measured, verified improvements instead of risky refactors. It is designed for developers who need to reduce latency, increase throughput, and cut memory or allocation overhead while keeping behavior unchanged.

Core Features & Use Cases

  • Profile-first workflow: Establish a baseline, inspect flamegraphs or allocation traces, and focus only on real hotspots.
  • Proof of correctness: Capture golden outputs, document invariants, and write an isomorphism proof for every change.
  • Optimization technique selection: Choose from batching, memoization, better data structures, algorithmic improvements, and concurrency patterns based on the measured bottleneck.
  • Language-specific guidance: Use tailored profiling and trouble-spot checks for Rust, Go, TypeScript, and Python.
  • Use case: A backend service is slow under load, and this Skill guides you to measure p95 latency, identify the hottest function, apply one safe optimization, and verify the result before repeating.

Quick Start

Use this skill to profile the slow workflow, identify the top bottleneck, and propose one behavior-preserving optimization with verification steps.

Frequently Asked Questions about extreme-software-optimization

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

FAQPage Schema
How do I optimize slow software workflows without changing behavior?

To optimize slow software safely, establish a baseline timing, inspect CPU and allocation flamegraphs, and apply one-change-per-commit guardrails with golden-output verification to ensure behavior remains unchanged.

What is the best way to eliminate performance hotspots in a Go or Rust codebase?

The best way to eliminate hotspots is profile-first: measure p95 latency, use language-specific profiling to locate the hottest function, and apply a verified algorithmic upgrade or concurrency pattern.

Does profiling and benchmarking work with TypeScript and Python codebases?

Yes, profiling and benchmarking work with TypeScript and Python codebases, offering tailored trouble-spot checks and benchmark-driven tuning to reduce latency, cut memory overhead, and increase throughput.

How do I prove that my latency optimization didn't break existing functionality?

To prove a latency optimization preserves behavior, capture golden outputs, document invariants, and write an isomorphism proof for every change to verify the original functionality remains completely intact.

When should I not use algorithmic upgrades for throughput optimization?

You should avoid algorithmic upgrades for throughput optimization until after measurement; without baseline timing and allocation profiling to identify real hotspots, algorithmic changes become risky refactors.