review-latency

Audit latency-critical paths in Alt-Tabby AutoHotkey scripts for blocking work and micro-optimizations.

1|Updated Jan 12, 2026
One-click install
npx skills add https://github.com/cwilliams5/Alt-Tabby --skill review-latency
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: review-latency
Source: https://github.com/cwilliams5/Alt-Tabby/tree/main/.claude/skills/review-latency
Command: npx skills add https://github.com/cwilliams5/Alt-Tabby --skill review-latency

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill identifies and rectifies performance bottlenecks in the latency-critical paths of the Alt-Tabby application, ensuring maximum responsiveness for window switching.

Core Features & Use Cases

  • Deep Performance Audit: Analyzes two primary hot paths: window change to store updates, and user input to pixel rendering.
  • Micro-optimization Focus: Targets even minuscule delays that compound over frequent operations.
  • Use Case: A developer uses this Skill to pinpoint and fix a 50μs delay in window eligibility checks that occurs 50 times per focus event, reducing overall lag and improving the user experience.

Quick Start

Begin a deep audit of both latency-critical paths for blocking work and micro-optimization opportunities.

Frequently Asked Questions about review-latency

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

FAQPage Schema
How do I find blocking work and redundant computation in AutoHotkey scripts?▼

To find blocking work in AutoHotkey scripts, audit latency-critical paths by analyzing window change to store updates and user input to pixel rendering for micro-optimization opportunities. This targets sub-millisecond responsiveness.

Why does my window switcher lag during frequent focus events?▼

Frequent focus event lag occurs when minuscule delays in window eligibility checks compound during operations. Auditing the window change to store update path identifies these redundant computations and micro-optimization opportunities.

How do I profile AutoHotkey code for sub-millisecond responsiveness?▼

Profile AutoHotkey code for sub-millisecond responsiveness by auditing two primary hot paths: window change to store updates and user action to pixel rendering, targeting blocking work and redundant computation.

Can I use this performance audit on AutoHotkey scripts outside of Alt-Tabby?▼

This performance audit specifically analyzes AutoHotkey scripts within the Alt-Tabby application's `src/core/` and `src/gui/` directories, focusing on its unique window switching latency paths and store update mechanisms.

What is the best way to optimize window change to store update paths?▼

The best way to optimize window change to store update paths is conducting a deep performance audit that targets blocking work, redundant computations, and micro-optimization opportunities to achieve sub-millisecond responsiveness.

When should I not use micro-optimization on AutoHotkey hot paths?▼

Micro-optimization on AutoHotkey hot paths is unnecessary if the application already achieves sub-millisecond responsiveness or if the window change and user input paths lack measurable blocking work or redundant computation.