Signed-off-by: Laszlo Papp <[email protected]>
---
HACKING | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/HACKING b/HACKING
index 537d9a3..63ccf1e 100644
--- a/HACKING
+++ b/HACKING
@@ -146,6 +146,14 @@ For example, to run valgrind:
./src/pacman/pacman
valgrind --leak-check=full -- src/pacman/.libs/lt-pacman -Syu
+How should I make benchmarks?
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+pacman spends most time with reading and writing the database. because of this,
+it's important to drop caches before doing a benchmark. here is how to do so:
+
+# echo 3 > /proc/sys/vm/drop_caches
+
/////
vim: set ts=2 sw=2 syntax=asciidoc et:
/////
--
1.6.5