Cutting my Zsh startup time: count the processes, not the lines
Comments
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Summary
A detailed guide on cutting Zsh startup time from around 500ms to 238ms on an older Mac, and from 213ms to 136ms on an M4, by profiling the config, switching from Oh My Zsh to Antidote, caching slow tool initializations, and above all cutting down the number of processes spawned…