diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2009-05-16 12:21:18 +0200 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2009-05-16 12:21:18 +0200 |
commit | e35d0ebc1c0e3457bd46df6962b09c555e6f1a91 (patch) | |
tree | 3625be53cc8d9864029730e6956618bbf6de2f8d /docs/performance | |
parent | 24c2b3186c7cd1ad2f451500caa6c7d94fbc144d (diff) |
documentation overhaul
Diffstat (limited to 'docs/performance')
-rw-r--r-- | docs/performance | 9 |
1 files changed, 9 insertions, 0 deletions
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 |