Details
-
Improvement
-
Status: Closed (View Workflow)
-
Blocker
-
Resolution: Fixed
-
None
-
Platform: PC, OS: Linux
Description
Some parsers are really slow for my system (4mb log file size). In total the
warnings plugin needs 1:45h to process the log with all parsers. Since I have
six different builds this will need more than 10h just for parsing the logs ...
Some tests with the unit tests showed that the MsBuild, gcc and erlang parsers
are really slow. Is there a way of to make the parsers used for a build
configurable or to speed up these parsers (e.g. the gnat parser and others need
less than a second to parse the log).
If the desired way is to speed up the parsers I can do some testing with
"better" regular expressions ...
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