aboutsummaryrefslogtreecommitdiff
path: root/.github/ISSUE_TEMPLATE/PERFORMANCE_ISSUE_TEMPLATE.md
diff options
context:
space:
mode:
authorDominik Ritter <dritter03@googlemail.com>2019-03-09 02:04:45 +0300
committerGitHub <noreply@github.com>2019-03-09 02:04:45 +0300
commitb4ace4ea2db4663502db4fc19d6e28917f06cf6c (patch)
tree86fc3c92de05de44a338592ed49f9a8517149c7a /.github/ISSUE_TEMPLATE/PERFORMANCE_ISSUE_TEMPLATE.md
parent7752a8111a07ccb9ea1639f4e91aa5d359ac2c76 (diff)
parent6bf7498b544115cfa67330e6a03b371261872f21 (diff)
Merge pull request #1178 from dritter/performance_issue_template
Add Performance Issue Template
Diffstat (limited to '.github/ISSUE_TEMPLATE/PERFORMANCE_ISSUE_TEMPLATE.md')
-rw-r--r--.github/ISSUE_TEMPLATE/PERFORMANCE_ISSUE_TEMPLATE.md38
1 files changed, 38 insertions, 0 deletions
diff --git a/.github/ISSUE_TEMPLATE/PERFORMANCE_ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE/PERFORMANCE_ISSUE_TEMPLATE.md
new file mode 100644
index 00000000..9d852db0
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/PERFORMANCE_ISSUE_TEMPLATE.md
@@ -0,0 +1,38 @@
+---
+name: Performance Issue
+about: For performance Issues
+title: "[Performance]"
+labels: performance
+assignees: ''
+
+---
+
+Sorry to hear that the performance of P9K is not adequate. To fix this, please provide us with some hints.
+
+### Your Hardware
+
+Disk I/O is critical for P9K, so do you use a spinning disk, or a SSD?
+
+### Virtualization
+
+Do you use P9K in some sort of virtualization? This is also the case, if you use WSL on Windows..
+
+### How Fast is Fast
+
+Could you quantify how fast the specific segment is, that you think is slow?
+For example, if you think the `vcs` segment is slow, could you execute this command in the directory, where the segment is slow:
+
+```zsh
+time (repeat 10; do; prompt_vcs left 1 false >/dev/null; done;)
+```
+
+Also, please provide us with some context around the segment. In the `vcs` example:
+
+- How big is the repo?
+- Does it contain a lot of untracked files?
+- Does it contain a lot of git submodules?
+- Does it contain a lot of files in general?
+
+Additionally, you could install [zsh-prompt-benchmark](https://github.com/romkatv/zsh-prompt-benchmark), to benchmark the general performance of ZSH and P9K.
+
+If you don't know which segment is slow, could you remove one by one, and spot the one that made the greatest impact? \ No newline at end of file