From a81dad44ea04f58ef8a3f399eb60cf110e57b336 Mon Sep 17 00:00:00 2001 From: Adrian Groh Date: Sun, 19 Feb 2023 20:11:17 +0100 Subject: [PATCH] docs(readme): add `PF_FAST_PKG_COUNT` to available options in README.md --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fb12e2f..821048c 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,9 @@ Benchmarks performed on an AMD Ryzen 5 3600. Execution time is measured using _Note: This is with `pacman` being the only installed package manager. Especially having `nix` installed will have a big impact on performance, as -querying installed `nix` packages is very costly._ +querying installed `nix` packages is very costly. If you want to skip slow +package managers from being counted, you can set the `PF_FAST_PKG_COUNT` +environment variable._ ## Configuration @@ -156,4 +158,7 @@ SHELL="" # Which desktop environment to display. XDG_CURRENT_DESKTOP="" +# Skip package managers that take "long" to query package count (like nix) +PF_FAST_PKG_COUNT=1 + ```