From 80762323e1a683f9157199ef0181bb1d23be5df6 Mon Sep 17 00:00:00 2001 From: Stefan Bodewig Date: Fri, 19 Sep 2008 08:23:24 +0000 Subject: [PATCH] optional bigger testbed with an order of magnitude more dirs and files. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@696975 13f79535-47bb-0310-9956-ffa450edef68 --- src/etc/performance/dirscanner.xml | 45 ++++++++++++++++++++++++++---- 1 file changed, 39 insertions(+), 6 deletions(-) diff --git a/src/etc/performance/dirscanner.xml b/src/etc/performance/dirscanner.xml index 177960e65..da48f7556 100644 --- a/src/etc/performance/dirscanner.xml +++ b/src/etc/performance/dirscanner.xml @@ -22,10 +22,15 @@ changes between Ant releases. Before you run any tests, you need to set up the environment by - running the setup target. Note that this will create a directory - tree holding 10000 directories and about 22000 files. + running the setup or big-setup target. Note that this will create + a directory tree holding 10000 (setup) or 100000 (big-setup) + directories and about 22000 (setup) or 222000 (big-setup) files. - The setup target requires Ant 1.7.0 or later. + The setup/big-setup targets require Ant 1.7.0 or later. It may be + a good idea to use the -logfile option. + + Consider taking a nap if you run Ant 1.6.x or 1.7.0 against a + "big" setup. The tests use the pathconvert task whose performance should be dominated by directory scanner, they would use ressourcecount if @@ -43,7 +48,7 @@ This is ${ant.version} - + + + + + + + + @@ -248,5 +281,5 @@ public class DirscannerSetup extends Task { + depends="matchall, roots, recursive-excludes, name-matches, many-patterns, many-roots"/>