https://issues.apache.org/bugzilla/show_bug.cgi?id=45665
Summary: DirectoryScanner Performance
Product: Ant
Version: unspecified
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: minor
Priority: P2
Component: Core
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
When profiling a build, I notice that an important part of the time is spent in
SelectorUtils.matchPath (6% in a build that do mostly ivy tasks).
This method obviously do an heavy work because it is used when checking that a
file name match an include/exclude pattern.
But I think it do one thing too much.
At each invocation it executes :
String[] patDirs = tokenizePathAsArray(pattern);
The same patterns are parsed again and again for each file that are scanned by
the DirectoryScanner. This should be avoided.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.