summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2022-08-09 12:31:50 +0100
committerPhil Jones <philj56@gmail.com>2022-08-09 12:35:58 +0100
commit6998cf1f0d6692255e09a46b5d59db08a7fd3d49 (patch)
tree05f2b6cd60d74e92145c03f60008d7d4d40540c0 /README.md
parent81025108db445ab31d7506a88e8919a5eebcadcb (diff)
Improve performance for some themes.
When not highlighting matches or drawing a selection background box, we can skip a bunch of slow code to improve performance.
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index 64cde1b..99f3fe6 100644
--- a/README.md
+++ b/README.md
@@ -161,6 +161,10 @@ In roughly descending order, the most important options for performance are:
results will speed this up, but since this likely only applies to dmenu-like
themes (which are already very quick) it's probably not worth setting this.
+* `--selection-match-color`, `--selection-background` - Passing either of these
+ options causes some more complex rendering to take place, again leading to a
+ couple of ms slowdown.
+
* `--hint-font` - Getting really into it now, one of the remaining slow points
is hinting fonts. For the dmenu theme on battery power on my laptop, with a
specific font file chosen, the initial text render with the default font