With the help of Gert Dreisen, we've landed some major file-scanning performance changes. You'll find them in any nightly builds from today onward. I'm seeing major CPU usage drops as well as improvements in scanning many filesets. I can now run a full rebuild on an unchanged <solution>-task-based, 100-project solution in about 2 seconds. :)

Some of the major changes include caching and compiling of regexes (avoiding re-creation of the same regex over and over), scanning only the regexes that apply to a given directory and various improvements to the regexes themselves.

Give it a shot and make sure it works with your current projects. If you find something breaking, please try to reduce it to a managable testcase before reporting - stuff changes all the time and it may not be related to the regex changes. Ideally, your testcase should consist of a single task with a single fileset and a number of files to select from.

Finally, if you are wondering why NAnt is behaving a certain way with your filesets, you can uncomment the "DEBUG_REGEXES" line in DirectoryScanner.cs to get a full dump of all directory scanning activity (extremely verbose).

Matt.


------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to