Skip to content

Performance

DANGER

These docs are for the not-yet-released v6.
For v5 docs visit https://zsh-abbr.olets.dev

zsh-abbr adds roughly 8ms + <=0.4ms/abbreviation to first prompt lag, 12ms + <=0.4ms/abbreviation to first command lag, and 6ms + 0.3ms/abbreviation to exit time.

Explanations of the measures are at https://github.com/romkatv/zsh-bench#what-it-measures.

Raw single-run data is available at https://oletsdev.notion.site/12fc6fd61c5780359e3bfb68c66cf774.

The performance suite uses zsh-bench. Run the performance suite with

shell
zsh-bench --isolation docker --config-dir ./performance -- not-installed fresh-install zero-abbreviations ten-abbreviations one-hundred-abbreviations