]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[TESTS] added a trivial program to benchmark hash algos
authorWilly Tarreau <w@1wt.eu>
Tue, 8 May 2007 21:22:43 +0000 (23:22 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 8 May 2007 21:22:43 +0000 (23:22 +0200)
commit58ef70227a0c5591710d51af76b4c6cad77ee2e4
treeaa2b03e2feb378d0ce03258e811c32c1073d21b6
parentc9b654b48b805dcdac34ed7f1fdafa03d617e36d
[TESTS] added a trivial program to benchmark hash algos

The uri_hash.c program makes it very easy to benchmark the
distribution of hash algos. Pass it one word per line, and
it will show the distribution per server for 1 to 10 servers.
tests/uri_hash.c [new file with mode: 0644]