haproxy/contrib/halog
Willy Tarreau e1a908c369 OPTIM: halog: keep a fast path for the lines-count only
Using "halog -c" is still something quite common to perform on logs,
but unfortunately since the recent added controls, it was sensibly
slowed down due to the parsing of the accept date field.

Now we use a specific loop for the case where nothing is needed from
the input, and this sped up the line counting by 2.5x. A 2.4 GHz Xeon
now counts lines at a rate of 2 GB of logs per second.
2012-01-03 09:28:05 +01:00
..
fgets2-64.c [OPTIM] halog: make fgets parse more bytes by blocks 2011-09-10 10:46:39 +02:00
fgets2.c [OPTIM] halog: make fgets parse more bytes by blocks 2011-09-10 10:46:39 +02:00
halog.c OPTIM: halog: keep a fast path for the lines-count only 2012-01-03 09:28:05 +01:00
Makefile BUILD: halog: make halog build on solaris 2011-09-16 15:03:37 +02:00