aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-10-03 23:15:30 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-10-03 23:15:30 +0300
commit6f11dca7d36415479ff26c7e37efed83dc13df9e (patch)
tree3739a45f12ab34e261ee6ab11115866558640fa1 /README.md
parentc0cb09991e887c01d01651bf35474b5b794be8f8 (diff)
update loading time benchmarks
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 4 insertions, 6 deletions
diff --git a/README.md b/README.md
index 94674687..de15a27e 100644
--- a/README.md
+++ b/README.md
@@ -262,9 +262,8 @@ prompt latency when using Powerlevel10k, please
### Is Powerlevel10k fast to load?
-The amount of time it takes for Powerlevel10k to render the first prompt is singnificantly higher
-than for the subsequent prompts. In comparison to other ZSH themes, Powerlevel10k loading latency
-is unremarkable. Powerlevel10k is neither fast nor slow to load.
+The amount of time it takes for Powerlevel10k to render the first prompt is higher than for the
+subsequent prompts but it's still fairly fast.
Time to first prompt can be measured with the following benchmark:
@@ -272,13 +271,12 @@ Time to first prompt can be measured with the following benchmark:
time (repeat 100 zsh -dfis <<< 'source ~/powerlevel10k/powerlevel10k.zsh-theme')
```
-On the same machine as in the [prompt benchmark](#is-it-really-fast) this results in 59.7 ms per
+On the same machine as in the [prompt benchmark](#is-it-really-fast) this results in 36.9 ms per
invocation when executed in a small git repository (I used the `powerlevel10k` repo itself). For
comparison, the same benchmark gives 171 ms for powerlevel9k/master and 505 ms for
powerlevel9k/next.
-*Note: Powerlevel10k startup latency can be reduced by about 15% by compiling its source files with
-`zcompile`.*
+*Note: Powerlevel10k is significantly faster to load with zsh version 5.4 and above.*
### Does Powerlevel10k always render exactly the same prompt as Powerlevel9k given the same config?