I have made some additional tests with the GCC parser. It seems as if the single
line mode is the reason for the performance issue. It would be much faster if it
would be possible to specify the ^ and $ for the line based matcher (which is
not possible due to the special meaning of these symbols in the line mode). The
only possible solution is to switch to the multiline mode and specify the whole
line with ^ and $.
(timed on a Intel Core Duo @ 1.2GHz each core)
original gcc-parser:
original testcase -> 0.004 sec
my log -> killed after 60min
patched gcc-parser:
original test -> 0.006 sec
my log -> 1.24 sec
I have made some additional tests with the GCC parser. It seems as if the single
line mode is the reason for the performance issue. It would be much faster if it
would be possible to specify the ^ and $ for the line based matcher (which is
not possible due to the special meaning of these symbols in the line mode). The
only possible solution is to switch to the multiline mode and specify the whole
line with ^ and $.
(timed on a Intel Core Duo @ 1.2GHz each core)
original gcc-parser:
original testcase -> 0.004 sec
my log -> killed after 60min
patched gcc-parser:
original test -> 0.006 sec
my log -> 1.24 sec