]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[CONTRIB] halog: faster fgets() and add support for percentile reporting
authorWilly Tarreau <w@1wt.eu>
Fri, 20 Feb 2009 10:02:32 +0000 (11:02 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 8 Mar 2009 23:42:39 +0000 (00:42 +0100)
commit214c203c0044beaffed648bbeb015245e74cc0bd
treecbe79af6676908780281112b0866c86f83832a5f
parent72c285345a2212733938cc410ba8bff98c814c44
[CONTRIB] halog: faster fgets() and add support for percentile reporting

A new fgets implementation saves about 25-50% of the time spent parsing
the logs.

Percentile calculation has been added for timers using -pct.
contrib/halog/Makefile
contrib/halog/fgets2-64.c [new file with mode: 0644]
contrib/halog/fgets2.c [new file with mode: 0644]
contrib/halog/halog.c