Follow-up Comment #1, bug #23321 (project grep):
The just attached file shows grep benchmark results. I got the patterns file
by doing:
cat /etc/logcheck/ignore.d.workstation > /tmp/ignore
The numbers show the startup time for grep with about 2500 regexps read from
a file (logcheck does this every hour) is:
Plain 2.5.3 : 68.0s
CALLOC patch : 24.2s
int->char patch: 5.8s
Adding 10000 lines of input (my /var/log/daemon.0 log file) doesn't change
the numbers much:
Plain 2.5.3 : 70.4s
Both CALLOC and
int->char patch: 5.7s
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?23321>
_______________________________________________
Meddelandet skickades via/av Savannah
http://savannah.gnu.org/