Skip to content
Back to skills

Perf Profiling

ASecurity

Measure a driver before proposing or implementing performance work. Use for AHK, Hammerspoon, latency, hot-path, startup, CPU, or memory audits; also matches "audit perf AHK" and "audit perf Hammerspoon".

  • 14 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added October 19, 2026
developmentperformance

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned October 19, 2026

npx -y skills add adrienm7/ergopti --skill perf-profiling --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Perf Profiling?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Perf Profiling
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/adrienm7-perf-profiling/badge)](https://www.skillsdirectory.com/skills/adrienm7-perf-profiling)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: perf-profiling
description: Measure a driver before proposing or implementing performance work. Use for AHK, Hammerspoon, latency, hot-path, startup, CPU, or memory audits; also matches "audit perf AHK" and "audit perf Hammerspoon".
---

# Performance profiling

Do not optimize from intuition. Establish a reproducible baseline, label every
number's provenance, change one mechanism, and repeat the same measurement.
Complexity or operation counts are useful hypotheses; they are not measured
latency.

Read only the scope reference that matches the request:

- Windows/AutoHotkey: [references/ahk.md](references/ahk.md)
- macOS/Hammerspoon: [references/hammerspoon.md](references/hammerspoon.md)

Before proposing a cache or architectural shortcut, read
`docs/memory/README.md` and the relevant topic plus
`docs/memory/rejected_proposals.md`. A cache is an optimization only when its
invalidation contract is proved.

## Shared method

1. Resolve the real runtime log directory before asserting that evidence exists
   or is absent. A log filename records process start; date events from their
   line timestamps.
2. Record the time window, input/workload, machine state, sample count, and
   command or script used. Report tail behavior and maximum, not mean alone.
3. Trace the highest-frequency path and count allocations, lookups, I/O, native
   calls, and work repeated with an unchanged result.
4. Prefer removing unnecessary work to adding a cache. Do not trade an ordering,
   ownership, suspension, privacy, or output guarantee for speed.
5. Measure after with the same method and run every gate selected by
   `verify-change`.

An audit reports proposed changes; it does not edit production code unless the
user explicitly asks for implementation. Never weaken a test to obtain a green
performance change, and never push without current authorization.

Files in this skill

  • SKILL.md1.8 KB
  • references/ahk.md2.3 KB
  • references/hammerspoon.md2.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.