lift

Optimize code performance using measured baselines and profiling data.

66|2|Updated Feb 18, 2015
One-click install
npx skills add https://github.com/tkersey/dotfiles --skill lift
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lift
Source: https://github.com/tkersey/dotfiles/tree/main/codex/skills/lift
Command: npx skills add https://github.com/tkersey/dotfiles --skill lift

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers improve latency, throughput, and memory usage of algorithmic and systems-level code, preserving correctness with measurable comparisons.

Core Features & Use Cases

  • Aggressive, measurement-driven optimization of hot code paths.
  • Define contracts, baseline, profiling, and controlled experiments.
  • Use for latency reduction, throughput increases, memory efficiency, or GC improvements in production services, libraries, or benchmarks.
  • Use Case: You have a service with P95 latency spikes; apply lift to identify bottlenecks, benchmark improvements, and ship with guards.

Quick Start

Run a baseline measurement, identify bottlenecks, and iteratively apply targeted optimizations following the optimization ladder described in the playbook.

Frequently Asked Questions about lift

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

FAQPage Schema
How do I reduce P95 latency spikes in a production service?

To reduce P95 latency spikes, you establish a measured baseline, profile the hot code paths to identify bottlenecks, and iteratively apply targeted optimizations with correctness checks. This measurement-driven approach ensures safe latency improvements.

What is the best way to improve memory efficiency and throughput in algorithmic code?

Improving memory efficiency and throughput requires measurement-driven optimization of hot code paths. By defining contracts, running controlled experiments, and benchmarking improvements, you can safely increase throughput or reduce GC overhead.

How does profiling-based code optimization work for systems-level workloads?

Profiling-based optimization works by capturing a measured baseline of systems-level workloads, using profiling data to isolate bottlenecks, and applying targeted improvements. Controlled experiments and guarded shipping verify that optimizations preserve correctness.

Can I optimize code performance without risking correctness or regressions?

You can optimize performance safely by requiring a measured baseline, profiling data, and correctness checks before shipping. Controlled experiments and guarded shipping ensure that latency, throughput, or memory improvements do not introduce regressions.

When do I need measurement-driven performance optimization for my library?

You need measurement-driven performance optimization when a library or service experiences slow code paths, latency spikes, or high memory usage. It applies to algorithmic and systems-level workloads where measurable baseline comparisons are required.

What are the limitations of aggressive performance optimization?

Aggressive performance optimization requires a measured baseline and profiling data to work effectively. Without correctness checks and controlled experiments, optimizing hot code paths risks introducing regressions or breaking existing functionality.