1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-25 13:30:07 +00:00

doc: remove most content from "is it fast to load" section

This commit is contained in:
Roman Perepelitsa 2021-12-23 08:40:12 +01:00
parent 356ce68f69
commit 83f773caae

View file

@ -1195,20 +1195,7 @@ prompt latency when using Powerlevel10k, please
### Is Powerlevel10k fast to load? ### Is Powerlevel10k fast to load?
Yes, provided that you are using Zsh >= 5.4. Yes. See [zsh-bench](https://github.com/romkatv/zsh-bench).
Loading time, or time to first prompt, can be measured with the following benchmark:
```zsh
time (repeat 1000 zsh -dfis <<< 'source ~/powerlevel10k/powerlevel10k.zsh-theme')
```
*Note:* This measures time to first complete prompt. Powerlevel10k can also display a
[limited prompt](#instant-prompt) before the full-featured prompt is ready.
Running this command with `~/powerlevel10k` as the current directory on the same machine as in the
[prompt benchmark](#is-it-really-fast) takes 29 seconds (29 ms per invocation). This is about 6
times faster than powerlevel9k/master and 17 times faster than powerlevel9k/next.
### What is the relationship between Powerlevel9k and Powerlevel10k? ### What is the relationship between Powerlevel9k and Powerlevel10k?