xmlbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ce...@apache.org
Subject svn commit: r239280 - in /xmlbeans/trunk/test/perf/bin: castor.bat castor.sh jaxb.bat jaxb.sh run_all_nonmemory.bat run_xmlbeans_all.bat run_xmlbeans_nonmemory.bat xerces.bat xerces.sh
Date Tue, 23 Aug 2005 00:46:06 GMT
Author: cezar
Date: Mon Aug 22 17:46:03 2005
New Revision: 239280

URL: http://svn.apache.org/viewcvs?rev=239280&view=rev
Log:
Contributed by Rajiv Balachandran. Changes to performance test scripts - classpath modified
to reflect new xerces version used in the tests now (version 2-7-1) and adding wrapper scripts
for running the tests against the various xmlbeans versions

Added:
    xmlbeans/trunk/test/perf/bin/run_xmlbeans_all.bat
    xmlbeans/trunk/test/perf/bin/run_xmlbeans_nonmemory.bat
Modified:
    xmlbeans/trunk/test/perf/bin/castor.bat
    xmlbeans/trunk/test/perf/bin/castor.sh
    xmlbeans/trunk/test/perf/bin/jaxb.bat
    xmlbeans/trunk/test/perf/bin/jaxb.sh
    xmlbeans/trunk/test/perf/bin/run_all_nonmemory.bat
    xmlbeans/trunk/test/perf/bin/xerces.bat
    xmlbeans/trunk/test/perf/bin/xerces.sh

Modified: xmlbeans/trunk/test/perf/bin/castor.bat
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/perf/bin/castor.bat?rev=239280&r1=239279&r2=239280&view=diff
==============================================================================
--- xmlbeans/trunk/test/perf/bin/castor.bat (original)
+++ xmlbeans/trunk/test/perf/bin/castor.bat Mon Aug 22 17:46:03 2005
@@ -1,60 +1,60 @@
-@echo off
-REM SUPPORTED PARAMS
-REM TODO: Make command line arg parsing cleaner
-set MEM=64
-set FLAVOR=
-set FILENAME=
-
-REM SCAN FIRST PARAM
-if not "%2"=="" goto %2
-goto default
-goto end
-:memory
-set MEM=%3
-goto end
-:flavor
-set FLAVOR=%3
-goto end
-:filename
-set FILENAME=%3
-goto end
-:default
-goto end
-:end
-
-REM SCAN SECOND PARAM
-if not "%4"=="" goto %4
-goto default
-goto end
-:memory
-set MEM=%5
-goto end
-:flavor
-set FLAVOR=%5
-goto end
-:filename
-set FILENAME=%5
-goto end
-:default
-goto end
-:end
-
-REM SCAN THIRD PARAM
-if not "%6"=="" goto %6
-goto default
-goto end
-:memory
-set MEM=%7
-goto end
-:flavor
-set FLAVOR=%7
-goto end
-:filename
-set FILENAME=%7
-goto end
-:default
-goto end
-:end
-
-echo on
-java -Xmx%MEM%m -Xbootclasspath/p:%XMLBEANS_PERFROOT%\3rdparty\xerces\xerces-2_6_2\xml-apis.jar;%XMLBEANS_PERFROOT%\3rdparty\xerces\xerces-2_6_2\xercesImpl.jar
-classpath %XMLBEANS_PERFROOT%\build;%XMLBEANS_PERFROOT%\schema_build\castor-purchase-order.jar;%XMLBEANS_PERFROOT%\schema_build\castor-primitives.jar;%XMLBEANS_PERFROOT%\schema_build\castor-non-primitives.jar;%XMLBEANS_PERFROOT%\3rdparty\castor\castor-0.9.5.4.jar
-DPERF_ROOT=%XMLBEANS_PERFROOT% org.apache.xmlbeans.test.performance.castor.%1 %FLAVOR% %FILENAME%

+@echo off
+REM SUPPORTED PARAMS
+REM TODO: Make command line arg parsing cleaner
+set MEM=64
+set FLAVOR=
+set FILENAME=
+
+REM SCAN FIRST PARAM
+if not "%2"=="" goto %2
+goto default
+goto end
+:memory
+set MEM=%3
+goto end
+:flavor
+set FLAVOR=%3
+goto end
+:filename
+set FILENAME=%3
+goto end
+:default
+goto end
+:end
+
+REM SCAN SECOND PARAM
+if not "%4"=="" goto %4
+goto default
+goto end
+:memory
+set MEM=%5
+goto end
+:flavor
+set FLAVOR=%5
+goto end
+:filename
+set FILENAME=%5
+goto end
+:default
+goto end
+:end
+
+REM SCAN THIRD PARAM
+if not "%6"=="" goto %6
+goto default
+goto end
+:memory
+set MEM=%7
+goto end
+:flavor
+set FLAVOR=%7
+goto end
+:filename
+set FILENAME=%7
+goto end
+:default
+goto end
+:end
+
+echo on
+java -Xmx%MEM%m -Xbootclasspath/p:%XMLBEANS_PERFROOT%\3rdparty\xerces\xerces-2_7_1\xml-apis.jar;%XMLBEANS_PERFROOT%\3rdparty\xerces\xerces-2_7_1\xercesImpl.jar
-classpath %XMLBEANS_PERFROOT%\build;%XMLBEANS_PERFROOT%\schema_build\castor-purchase-order.jar;%XMLBEANS_PERFROOT%\schema_build\castor-primitives.jar;%XMLBEANS_PERFROOT%\schema_build\castor-non-primitives.jar;%XMLBEANS_PERFROOT%\3rdparty\castor\castor-0.9.5.4.jar
-DPERF_ROOT=%XMLBEANS_PERFROOT% org.apache.xmlbeans.test.performance.castor.%1 %FLAVOR% %FILENAME%


Modified: xmlbeans/trunk/test/perf/bin/castor.sh
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/perf/bin/castor.sh?rev=239280&r1=239279&r2=239280&view=diff
==============================================================================
--- xmlbeans/trunk/test/perf/bin/castor.sh (original)
+++ xmlbeans/trunk/test/perf/bin/castor.sh Mon Aug 22 17:46:03 2005
@@ -1,25 +1,25 @@
-#/bin/sh
-
-export MEM=64
-export FLAVOR=
-export FILENAME=
-
-#scan first param
-case "$2" in
-	memory) export MEM=$3 ;;
-	flavor) export FLAVOR=$3 ;;
-	filename) export FILENAME=$3 ;;
-esac
-#scan second param
-case "$4" in
-	memory) export MEM=$5 ;;
-	flavor) export FLAVOR=$5 ;;
-	filename) export FILENAME=$5 ;;
-esac
-#scan third param
-case "$6" in
-	memory) export MEM=$7 ;;
-	flavor) export FLAVOR=$7 ;;
-	filename) export FILENAME=$7 ;;
-esac
-java -Xmx"$MEM"m -Xbootclasspath/p:$XMLBEANS_PERFROOT/3rdparty/xerces/xerces-2_6_2/xml-apis.jar:$XMLBEANS_PERFROOT/3rdparty/xerces/xerces-2_6_2/xercesImpl.jar
-classpath $XMLBEANS_PERFROOT/build:$XMLBEANS_PERFROOT/schema_build/castor-purchase-order.jar:$XMLBEANS_PERFROOT/schema_build/castor-primitives.jar:$XMLBEANS_PERFROOT/schema_build/castor-non-primitives.jar:$XMLBEANS_PERFROOT/3rdparty/castor/castor-0.9.5.4.jar
-DPERF_ROOT=$XMLBEANS_PERFROOT org.apache.xmlbeans.test.performance.castor.$1 $FLAVOR $FILENAME

+#/bin/sh
+
+export MEM=64
+export FLAVOR=
+export FILENAME=
+
+#scan first param
+case "$2" in
+	memory) export MEM=$3 ;;
+	flavor) export FLAVOR=$3 ;;
+	filename) export FILENAME=$3 ;;
+esac
+#scan second param
+case "$4" in
+	memory) export MEM=$5 ;;
+	flavor) export FLAVOR=$5 ;;
+	filename) export FILENAME=$5 ;;
+esac
+#scan third param
+case "$6" in
+	memory) export MEM=$7 ;;
+	flavor) export FLAVOR=$7 ;;
+	filename) export FILENAME=$7 ;;
+esac
+java -Xmx"$MEM"m -Xbootclasspath/p:$XMLBEANS_PERFROOT/3rdparty/xerces/xerces-2_7_1/xml-apis.jar:$XMLBEANS_PERFROOT/3rdparty/xerces/xerces-2_7_1/xercesImpl.jar
-classpath $XMLBEANS_PERFROOT/build:$XMLBEANS_PERFROOT/schema_build/castor-purchase-order.jar:$XMLBEANS_PERFROOT/schema_build/castor-primitives.jar:$XMLBEANS_PERFROOT/schema_build/castor-non-primitives.jar:$XMLBEANS_PERFROOT/3rdparty/castor/castor-0.9.5.4.jar
-DPERF_ROOT=$XMLBEANS_PERFROOT org.apache.xmlbeans.test.performance.castor.$1 $FLAVOR $FILENAME


Modified: xmlbeans/trunk/test/perf/bin/jaxb.bat
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/perf/bin/jaxb.bat?rev=239280&r1=239279&r2=239280&view=diff
==============================================================================
--- xmlbeans/trunk/test/perf/bin/jaxb.bat (original)
+++ xmlbeans/trunk/test/perf/bin/jaxb.bat Mon Aug 22 17:46:03 2005
@@ -57,4 +57,4 @@
 :end
 
 echo on
-java -Xmx%MEM%m -Xbootclasspath/p:%XMLBEANS_PERFROOT%\3rdparty\xerces\xerces-2_6_2\xml-apis.jar:%XMLBEANS_PERFROOT%\3rdparty\xerces\xerces-2_6_2\xercesImpl.jar
-classpath %XMLBEANS_PERFROOT%\build;%XMLBEANS_PERFROOT%\schema_build\jaxb-purchase-order.jar;%XMLBEANS_PERFROOT%\schema_build\jaxb-primitives.jar;%XMLBEANS_PERFROOT%\schema_build\jaxb-non-primitives.jar;%JAXB_LIBDIR%\jaxb\lib\jaxb-libs.jar;%JAXB_LIBDIR%\jaxb\lib\jaxb-impl.jar;%JAXB_LIBDIR%\jaxb\lib\jaxb-api.jar;%JAXB_LIBDIR%\jwsdp-shared\lib\relaxngDatatype.jar;%JAXB_LIBDIR%\jwsdp-shared\lib\xsdlib.jar
-DPERF_ROOT=%XMLBEANS_PERFROOT% org.apache.xmlbeans.test.performance.jaxb.%1 %FLAVOR% %FILENAME%

+java -Xmx%MEM%m -Xbootclasspath/p:%XMLBEANS_PERFROOT%\3rdparty\xerces\xerces-2_7_1\xml-apis.jar:%XMLBEANS_PERFROOT%\3rdparty\xerces\xerces-2_7_1\xercesImpl.jar
-classpath %XMLBEANS_PERFROOT%\build;%XMLBEANS_PERFROOT%\schema_build\jaxb-purchase-order.jar;%XMLBEANS_PERFROOT%\schema_build\jaxb-primitives.jar;%XMLBEANS_PERFROOT%\schema_build\jaxb-non-primitives.jar;%JAXB_LIBDIR%\jaxb\lib\jaxb-libs.jar;%JAXB_LIBDIR%\jaxb\lib\jaxb-impl.jar;%JAXB_LIBDIR%\jaxb\lib\jaxb-api.jar;%JAXB_LIBDIR%\jwsdp-shared\lib\relaxngDatatype.jar;%JAXB_LIBDIR%\jwsdp-shared\lib\xsdlib.jar
-DPERF_ROOT=%XMLBEANS_PERFROOT% org.apache.xmlbeans.test.performance.jaxb.%1 %FLAVOR% %FILENAME%


Modified: xmlbeans/trunk/test/perf/bin/jaxb.sh
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/perf/bin/jaxb.sh?rev=239280&r1=239279&r2=239280&view=diff
==============================================================================
--- xmlbeans/trunk/test/perf/bin/jaxb.sh (original)
+++ xmlbeans/trunk/test/perf/bin/jaxb.sh Mon Aug 22 17:46:03 2005
@@ -1,26 +1,26 @@
-#/bin/sh
-
-export MEM=64
-export FLAVOR=
-export FILENAME=
-
-#scan first param
-case "$2" in
-	memory) export MEM=$3 ;;
-	flavor) export FLAVOR=$3 ;;
-	filename) export FILENAME=$3 ;;
-esac
-#scan second param
-case "$4" in
-	memory) export MEM=$5 ;;
-	flavor) export FLAVOR=$5 ;;
-	filename) export FILENAME=$5 ;;
-esac
-#scan third param
-case "$6" in
-	memory) export MEM=$7 ;;
-	flavor) export FLAVOR=$7 ;;
-	filename) export FILENAME=$7 ;;
-esac
-
-java -Xmx"$MEM"m -Xbootclasspath/p:$XMLBEANS_PERFROOT/3rdparty/xerces/xerces-2_6_2/xml-apis.jar:$XMLBEANS_PERFROOT/3rdparty/xerces/xerces-2_6_2/xercesImpl.jar
-classpath $XMLBEANS_PERFROOT/build:$XMLBEANS_PERFROOT/schema_build/jaxb-purchase-order.jar:$XMLBEANS_PERFROOT/schema_build/jaxb-primitives.jar:$XMLBEANS_PERFROOT/schema_build/jaxb-non-primitives.jar:$JAXB_LIBDIR/jaxb-libs.jar:$JAXB_LIBDIR/jaxb-impl.jar:$JAXB_LIBDIR/jaxb-api.jar:$JAXB_LIBDIR/relaxngDatatype.jar:$JAXB_LIBDIR/xsdlib.jar
-DPERF_ROOT=$XMLBEANS_PERFROOT org.apache.xmlbeans.test.performance.jaxb.$1 $FLAVOR $FILENAME

+#/bin/sh
+
+export MEM=64
+export FLAVOR=
+export FILENAME=
+
+#scan first param
+case "$2" in
+	memory) export MEM=$3 ;;
+	flavor) export FLAVOR=$3 ;;
+	filename) export FILENAME=$3 ;;
+esac
+#scan second param
+case "$4" in
+	memory) export MEM=$5 ;;
+	flavor) export FLAVOR=$5 ;;
+	filename) export FILENAME=$5 ;;
+esac
+#scan third param
+case "$6" in
+	memory) export MEM=$7 ;;
+	flavor) export FLAVOR=$7 ;;
+	filename) export FILENAME=$7 ;;
+esac
+
+java -Xmx"$MEM"m -Xbootclasspath/p:$XMLBEANS_PERFROOT/3rdparty/xerces/xerces-2_7_1/xml-apis.jar:$XMLBEANS_PERFROOT/3rdparty/xerces/xerces-2_7_1/xercesImpl.jar
-classpath $XMLBEANS_PERFROOT/build:$XMLBEANS_PERFROOT/schema_build/jaxb-purchase-order.jar:$XMLBEANS_PERFROOT/schema_build/jaxb-primitives.jar:$XMLBEANS_PERFROOT/schema_build/jaxb-non-primitives.jar:$JAXB_LIBDIR/jaxb-libs.jar:$JAXB_LIBDIR/jaxb-impl.jar:$JAXB_LIBDIR/jaxb-api.jar:$JAXB_LIBDIR/relaxngDatatype.jar:$JAXB_LIBDIR/xsdlib.jar
-DPERF_ROOT=$XMLBEANS_PERFROOT org.apache.xmlbeans.test.performance.jaxb.$1 $FLAVOR $FILENAME


Modified: xmlbeans/trunk/test/perf/bin/run_all_nonmemory.bat
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/perf/bin/run_all_nonmemory.bat?rev=239280&r1=239279&r2=239280&view=diff
==============================================================================
--- xmlbeans/trunk/test/perf/bin/run_all_nonmemory.bat (original)
+++ xmlbeans/trunk/test/perf/bin/run_all_nonmemory.bat Mon Aug 22 17:46:03 2005
@@ -3,4 +3,5 @@
 call run_svn_nonmemory.bat
 call run_jaxb_nonmemory.bat
 call run_jibx.bat
+call run_castor.bat
 call run_xerces_nonmemory.bat

Added: xmlbeans/trunk/test/perf/bin/run_xmlbeans_all.bat
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/perf/bin/run_xmlbeans_all.bat?rev=239280&view=auto
==============================================================================
--- xmlbeans/trunk/test/perf/bin/run_xmlbeans_all.bat (added)
+++ xmlbeans/trunk/test/perf/bin/run_xmlbeans_all.bat Mon Aug 22 17:46:03 2005
@@ -0,0 +1,3 @@
+call run_v1.bat
+call run_v2.bat
+call run_svn.bat

Added: xmlbeans/trunk/test/perf/bin/run_xmlbeans_nonmemory.bat
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/perf/bin/run_xmlbeans_nonmemory.bat?rev=239280&view=auto
==============================================================================
--- xmlbeans/trunk/test/perf/bin/run_xmlbeans_nonmemory.bat (added)
+++ xmlbeans/trunk/test/perf/bin/run_xmlbeans_nonmemory.bat Mon Aug 22 17:46:03 2005
@@ -0,0 +1,3 @@
+call run_v1_nonmemory.bat
+call run_v2_nonmemory.bat
+call run_svn_nonmemory.bat

Modified: xmlbeans/trunk/test/perf/bin/xerces.bat
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/perf/bin/xerces.bat?rev=239280&r1=239279&r2=239280&view=diff
==============================================================================
--- xmlbeans/trunk/test/perf/bin/xerces.bat (original)
+++ xmlbeans/trunk/test/perf/bin/xerces.bat Mon Aug 22 17:46:03 2005
@@ -1,60 +1,60 @@
-@echo off
-REM SUPPORTED PARAMS
-REM TODO: Make command line arg parsing cleaner
-set MEM=64
-set FLAVOR=
-set FILENAME=
-
-REM SCAN FIRST PARAM
-if not "%2"=="" goto %2
-goto default
-goto end
-:memory
-set MEM=%3
-goto end
-:flavor
-set FLAVOR=%3
-goto end
-:filename
-set FILENAME=%3
-goto end
-:default
-goto end
-:end
-
-REM SCAN SECOND PARAM
-if not "%4"=="" goto %4
-goto default
-goto end
-:memory
-set MEM=%5
-goto end
-:flavor
-set FLAVOR=%5
-goto end
-:filename
-set FILENAME=%5
-goto end
-:default
-goto end
-:end
-
-REM SCAN THIRD PARAM
-if not "%6"=="" goto %6
-goto default
-goto end
-:memory
-set MEM=%7
-goto end
-:flavor
-set FLAVOR=%7
-goto end
-:filename
-set FILENAME=%7
-goto end
-:default
-goto end
-:end
-
-echo on
-java -Xmx%MEM%m -Xbootclasspath/p:%XMLBEANS_PERFROOT%\3rdparty\xerces\xerces-2_6_2\xml-apis.jar;%XMLBEANS_PERFROOT%\3rdparty\xerces\xerces-2_6_2\xercesImpl.jar
-classpath %XMLBEANS_PERFROOT%\build -DPERF_ROOT=%XMLBEANS_PERFROOT% org.apache.xmlbeans.test.performance.xerces.%1
%FLAVOR% %FILENAME% 
+@echo off
+REM SUPPORTED PARAMS
+REM TODO: Make command line arg parsing cleaner
+set MEM=64
+set FLAVOR=
+set FILENAME=
+
+REM SCAN FIRST PARAM
+if not "%2"=="" goto %2
+goto default
+goto end
+:memory
+set MEM=%3
+goto end
+:flavor
+set FLAVOR=%3
+goto end
+:filename
+set FILENAME=%3
+goto end
+:default
+goto end
+:end
+
+REM SCAN SECOND PARAM
+if not "%4"=="" goto %4
+goto default
+goto end
+:memory
+set MEM=%5
+goto end
+:flavor
+set FLAVOR=%5
+goto end
+:filename
+set FILENAME=%5
+goto end
+:default
+goto end
+:end
+
+REM SCAN THIRD PARAM
+if not "%6"=="" goto %6
+goto default
+goto end
+:memory
+set MEM=%7
+goto end
+:flavor
+set FLAVOR=%7
+goto end
+:filename
+set FILENAME=%7
+goto end
+:default
+goto end
+:end
+
+echo on
+java -Xmx%MEM%m -Xbootclasspath/p:%XMLBEANS_PERFROOT%\3rdparty\xerces\xerces-2_7_1\xml-apis.jar;%XMLBEANS_PERFROOT%\3rdparty\xerces\xerces-2_7_1\xercesImpl.jar
-classpath %XMLBEANS_PERFROOT%\build -DPERF_ROOT=%XMLBEANS_PERFROOT% org.apache.xmlbeans.test.performance.xerces.%1
%FLAVOR% %FILENAME% 

Modified: xmlbeans/trunk/test/perf/bin/xerces.sh
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/perf/bin/xerces.sh?rev=239280&r1=239279&r2=239280&view=diff
==============================================================================
--- xmlbeans/trunk/test/perf/bin/xerces.sh (original)
+++ xmlbeans/trunk/test/perf/bin/xerces.sh Mon Aug 22 17:46:03 2005
@@ -1,26 +1,26 @@
-#/bin/sh
-
-export MEM=64
-export FLAVOR=
-export FILENAME=
-
-#scan first param
-case "$2" in
-	memory) export MEM=$3 ;;
-	flavor) export FLAVOR=$3 ;;
-	filename) export FILENAME=$3 ;;
-esac
-#scan second param
-case "$4" in
-	memory) export MEM=$5 ;;
-	flavor) export FLAVOR=$5 ;;
-	filename) export FILENAME=$5 ;;
-esac
-#scan third param
-case "$6" in
-	memory) export MEM=$7 ;;
-	flavor) export FLAVOR=$7 ;;
-	filename) export FILENAME=$7 ;;
-esac
-
-java -Xbootclasspath/p:$XMLBEANS_PERFROOT/3rdparty/xerces/xerces-2_6_2/xml-apis.jar:$XMLBEANS_PERFROOT/3rdparty/xerces/xerces-2_6_2/xercesImpl.jar
-Xmx"$MEM"m -classpath $XMLBEANS_PERFROOT/build -DPERF_ROOT=$XMLBEANS_PERFROOT org.apache.xmlbeans.test.performance.xerces.$1
$FLAVOR $FILENAME 
+#/bin/sh
+
+export MEM=64
+export FLAVOR=
+export FILENAME=
+
+#scan first param
+case "$2" in
+	memory) export MEM=$3 ;;
+	flavor) export FLAVOR=$3 ;;
+	filename) export FILENAME=$3 ;;
+esac
+#scan second param
+case "$4" in
+	memory) export MEM=$5 ;;
+	flavor) export FLAVOR=$5 ;;
+	filename) export FILENAME=$5 ;;
+esac
+#scan third param
+case "$6" in
+	memory) export MEM=$7 ;;
+	flavor) export FLAVOR=$7 ;;
+	filename) export FILENAME=$7 ;;
+esac
+
+java -Xbootclasspath/p:$XMLBEANS_PERFROOT/3rdparty/xerces/xerces-2_7_1/xml-apis.jar:$XMLBEANS_PERFROOT/3rdparty/xerces/xerces-2_7_1/xercesImpl.jar
-Xmx"$MEM"m -classpath $XMLBEANS_PERFROOT/build -DPERF_ROOT=$XMLBEANS_PERFROOT org.apache.xmlbeans.test.performance.xerces.$1
$FLAVOR $FILENAME 



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: commits-help@xmlbeans.apache.org


Mime
View raw message