From a2516f47db239d9c5e642f766f5736e527b331d4 Mon Sep 17 00:00:00 2001 From: Stefan Bodewig Date: Thu, 18 Sep 2008 09:21:13 +0000 Subject: [PATCH] performance tests for DirectoryScanner git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@696612 13f79535-47bb-0310-9956-ffa450edef68 --- src/etc/performance/dirscanner.xml | 204 +++++++++++++++++++++++++++++ 1 file changed, 204 insertions(+) create mode 100644 src/etc/performance/dirscanner.xml diff --git a/src/etc/performance/dirscanner.xml b/src/etc/performance/dirscanner.xml new file mode 100644 index 000000000..6f55e0e95 --- /dev/null +++ b/src/etc/performance/dirscanner.xml @@ -0,0 +1,204 @@ + + + + + Contains tests that measure the relative performance of Ant's + directory scanner. This is mainly used to compare performance + 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. + + The setup target requires Ant 1.7.0 or later. + + The tests use the pathconvert task whose performance should be + dominated by directory scanner, they would use ressourcecount if + that had been available in Ant 1.6.5. + + The tests will use the default settings of followsymlinks="true" + and casesensitive="true" unless those values get overwritten by + the properties symlinks and/or casesensitive on the command line. + + + + + + + + This is ${ant.version} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +