profiling-software-performance
Made by JeffRank hot paths by CPU, memory, I/O, and contention; hand the optimization skill a scored target list. Use when: profile, flamegraph, hotspot, bottleneck, p95/p99, IOPS, fsync, "why is this slow".
From Jeffrey's Skills.md: professionally crafted skills for any AI agent, installed and kept in sync by the jsm CLI. Subscription only, $20/month.
Works With
Quality and Utility come from canonical skill metadata. Community ratings appear separately as stars when subscriber reviews exist.
Subscribe to download
Public previews are available, but downloads, CLI sync, and premium content require an active subscription.
Sign In to Subscribe- Full skill content with deterministic versioning
- CLI sync + local search index
- Access to Jeffrey’s premium library
Save to your account
Saved skills live in your cloud list. Run jsm sync on each machine to pull them locally.
What's New with this Skill
1Updates, enhancements, and release notes for this skill.
profiling-software-performance: ranks hot paths by CPU, memory, I/O, and contention with artifact-cited rows, then hands a scored target list to extreme-software-optimization
Ranks hot paths before any code changes. Seven phases (define, environment fingerprint, baseline of 20+ runs with a variance envelope, instrument, profile CPU, allocation, I/O, and off-CPU time, interpret, hand off) produce a ranked hotspot table where every row cites an artifact path. No optimization happens here; that separation is the contract with extreme-software-optimization.
- Seven phases, each ending in an artifact: DEFINE.md, fingerprint.json, BASELINE.md (hyperfine, 20 runs, <=10% p95 variance envelope), instrumentation spans, profiles (samply CPU, heaptrack/dhat heap, biolatency I/O, off-CPU flame graph), then hotspot_table.md and hypothesis.md for the hand-off.
- Every row in the hotspot table cites an artifact path: flame_1.svg:0.23, dhat-heap.json#L412, off-cpu.svg, span_summary.json, perf.data. No unreferenced claims.
- Language guides for Rust (samply, heaptrack, dhat), Go (pprof, SetMutexProfileFraction), Node (clinic, --cpu-prof, --heap-prof), Python (py-spy, memray, scalene, austin), and C/C++ (perf, Tracy, bpftrace USDT).
- Honest-gate checklist: 14 pre/during/post benchmark questions with a signed attestation artifact. Catches warm-vs-cold leaks, prepared-vs-ad-hoc comparisons, and the single-run/one-number trap.
- APPLES-TO-APPLES-MATRIX.md separates dimensions that must match (CPU governor, kernel, filesystem) from dimensions that ARE the comparison. TRIANGULATION-RECIPE.md requires three orthogonal signals before acting on a hypothesis.
- Eight runnable scripts: env_fingerprint.sh, bench_baseline.sh, variance_envelope.py, ci_compare.sh, bias_audit.py, honest_gate.sh, profile_init.sh, render_hotspot_table.py. All small-N safe; p99.9/p99.99 flagged as conservative below 1000 samples.
- Twenty-six reference docs: methodology, OS tuning with revert commands, cache hierarchy (AoS vs SoA, false sharing), flame-graph reading, statistical rigor (CV, MAD, bootstrap CI), database profiling, LLM/AI (TTFT/TPOT), GPU (CUDA/ROCm/Metal), and 22 operator cards.
- Hand-off contract: extreme-software-optimization scores targets Impact × Confidence / Effort ≥ 2.0 from the rows produced here. Rewrites land on what the profile ranks, not on intuition about what should be hot.
- Cross-references the companion skill (extreme-software-optimization) for code changes, beads-workflow for tracking multi-phase profiling runs, and testing-golden-artifacts for freezing known-good outputs before any rewrite.
- The loop terminates when the artifacts exist: ranked table, hypothesis ledger, baseline fingerprint. A phase without its artifact isn't done.