From e35d0ebc1c0e3457bd46df6962b09c555e6f1a91 Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Sat, 16 May 2009 12:21:18 +0200 Subject: documentation overhaul --- docs/performance | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 docs/performance (limited to 'docs/performance') diff --git a/docs/performance b/docs/performance new file mode 100644 index 0000000..0f9763f --- /dev/null +++ b/docs/performance @@ -0,0 +1,9 @@ +The usage of external scripts causes some slowdowns. (forking new processes, running interpreted scripts,...) +It can be interesting to keep an eye on this, though I don't expect major problems. + +** History file size/performance +each new pageload -> fopen(history_file, "a"), fwrite one line, fclose. +I use utf8, so unless you use characters that are "special" (chinese etc) each character takes 1 byte. +So, assume each entry is about 80 chars, you visit 100 pages per day (?), and you wonder when your history file will be 50MB big: +(50 * 1000 * 1000 ) / ( 80 * 100 ) = 6250 days or 17 years. +There is code to run a benchmark in the 'extra' dir. For results & interpretation, see http://dieter.plaetinck.be/poor_mans_dmenu_benchmark -- cgit v1.2.3