benchmark-zsh-startup
CommunityMeasure zsh startup latency and attribution.
System Documentation
What problem does it solve?
Benchmark and attribute zsh startup and prompt latency. Use when asked to profile a slow zsh prompt, explain where shell startup time is spent, compare zsh-bench with zprof or xtrace, or decide which zsh plugin, hook, or startup file to optimize first. Also use when the task is to track which zsh features, widgets, completions, or plugin-provided commands are actually being used.
Core Features & Use Cases
- Baseline interactive startup latency across the shell startup path.
- Attribute latency to functions, plugins, hooks, and prompt rendering using zprof and xtrace.
- Separate first-run work from warm runs and provide actionable optimization recommendations for shell startup.
Quick Start
Use zsh-bench to benchmark zsh prompt startup, attribute the time to specific startup steps, and recommend the next changes to test.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: benchmark-zsh-startup Download link: https://github.com/prateek/dotfiles/archive/main.zip#benchmark-zsh-startup Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.