Investigate measured latency, memory, throughput or agent-context overhead using a reproducible workload and an equivalent-quality before/after comparison.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Performance Profiling?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/najuaircrack-performance-profiling)
---
name: performance-profiling
description: "Investigate measured latency, memory, throughput or agent-context overhead using a reproducible workload and an equivalent-quality before/after comparison."
license: MIT
---
# Measured performance work
Define the user-visible operation and workload before optimizing. Record runtime, input size, concurrency, cache state and a repeatable entry point. Distinguish elapsed time, CPU, allocation, retained memory, throughput and transferred bytes; one does not establish another.
Find the expensive path with the profiler or traces appropriate to the runtime. When tooling is unavailable, state the limit and use bounded observable timings; do not name a bottleneck from intuition alone. Inspect callers to avoid moving cost into another request or hiding it in preparation.
Change the owning hot path, redundant work or data access. Preserve correctness, ordering, cancellation and resource limits. Warm-up, setup, evaluation, failures and retries need explicit consistent accounting. Compare equivalent accepted behavior on the same workload; repeat noisy measurements and retain unfavorable samples.
For agent workflow changes, measure discovery bytes separately from provider tokens and completed-task effort. Smaller metadata is a mechanism result, not proof of faster agents. A cost claim additionally needs actual dated billing semantics. Report scope, observed distribution and unmeasured boundaries rather than a universal speedup.