Issue Type: Improvement Improvement
Affects Versions: current
Assignee: Ulli Hafner
Attachments: logoutput.anonym.txt
Components: warnings
Created: 11/Jul/12 11:13 AM
Description:

Hello,

I encountered severe performance problems when using the customized warnings parser plugin with regex.
It takes about a minute to parse the 250kb file in the attachment for warnings. Even a simple regex like just "INFO" takes 40 seks for the attached file.
A 6 MB log file took about 18 minutes with a slightly more dificult skript.
When I tested a log on java with about the same size and similar amount of categorys, it terminated after 2 seconds.

Skript:
import hudson.plugins.warnings.parser.Warning
return new Warning("fileName", 1, "Dynamic Parser", "category" , "normal")

Regex:
^([A-Z])\s)[(.)].at:\s(\w\.java)((\d+))(\s)$

Project: Jenkins
Labels: plugins warnings
Priority: Major Major
Reporter: Tobias Schmetzer
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to