[jboss-svn-commits] JBL Code SVN: r31586 - labs/jbosstm/workspace/whitingjr/trunk/performance.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Thu Feb 11 15:12:53 EST 2010


Author: whitingjr
Date: 2010-02-11 15:12:53 -0500 (Thu, 11 Feb 2010)
New Revision: 31586

Modified:
   labs/jbosstm/workspace/whitingjr/trunk/performance/build.xml
Log:
Updated build script.


Modified: labs/jbosstm/workspace/whitingjr/trunk/performance/build.xml
===================================================================
--- labs/jbosstm/workspace/whitingjr/trunk/performance/build.xml	2010-02-11 20:12:15 UTC (rev 31585)
+++ labs/jbosstm/workspace/whitingjr/trunk/performance/build.xml	2010-02-11 20:12:53 UTC (rev 31586)
@@ -378,7 +378,16 @@
 			<fileset refid="configuration.path.1" />
 			<fileset refid="configuration.path.2" />
 		</copy>
-
+		
+		<copy file="logs/profiled/DATE-TIME-profile.xml" tofile="logs/${DSTAMP}/${DSTAMP}-${time-stamp}/${DSTAMP}-${time-stamp}-${resource.A.db.vendor}-${resource.B.db.vendor}-profile-raw.xml" />
+		
+		<!--xslt style="src/main/resources/xsl/filter-results.xsl" in="logs/profiled/DATE-TIME-profile.xml" out="logs/${DSTAMP}/${DSTAMP}-${time-stamp}/${DSTAMP}-${time-stamp}-profile-analysis-00.xml">
+			<param name="methods-csv" expression="${category0.methods},${categoryB.methods},${categoryC.methods},${categoryD.methods},${categoryE.methods},${categoryF.methods}" />
+      </xslt>
+		<xslt style="src/main/resources/xsl/to-csv.xsl" in="logs/${DSTAMP}/${DSTAMP}-${time-stamp}/${DSTAMP}-${time-stamp}-profile-analysis-00.xml" out="logs/${DSTAMP}/${DSTAMP}-${time-stamp}/${DSTAMP}-${time-stamp}-profile-analysis-02.csv">
+      </xslt>
+		<xslt style="src/main/resources/xsl/reduce-text.xsl" in="logs/profiled/DATE-TIME-profile.xml" out="logs/${DSTAMP}/${DSTAMP}-${time-stamp}/${DSTAMP}-${time-stamp}-profile-analysis-05.xml"/-->
+		
 		<xslt style="src/main/resources/xsl/analyseresults.xsl" in="logs/profiled/DATE-TIME-profile.xml" out="logs/${DSTAMP}/${DSTAMP}-${time-stamp}/${DSTAMP}-${time-stamp}-profile-analysis-01.xml">
 			<outputproperty name="indent" value="yes" />
 			<param name="db-vendor-package.A" expression="${db-vendor-package.xpath.A}" />
@@ -394,7 +403,13 @@
 				<expandproperties />
 			</filterchain>
 		</copy>
-		<xslt style="logs/${DSTAMP}/${DSTAMP}-${time-stamp}/merge-thread-results.xsl" in="logs/${DSTAMP}/${DSTAMP}-${time-stamp}/${DSTAMP}-${time-stamp}-profile-analysis-01.xml" out="logs/${DSTAMP}/${DSTAMP}-${time-stamp}/${DSTAMP}-${time-stamp}-profile-analysis-02.xml" />
+		<copy file="src/main/resources/xsl/csv-parser.xsl" todir="logs/${DSTAMP}/${DSTAMP}-${time-stamp}"/>
+		<xslt style="logs/${DSTAMP}/${DSTAMP}-${time-stamp}/merge-thread-results.xsl" in="logs/${DSTAMP}/${DSTAMP}-${time-stamp}/${DSTAMP}-${time-stamp}-profile-analysis-01.xml" out="logs/${DSTAMP}/${DSTAMP}-${time-stamp}/${DSTAMP}-${time-stamp}-profile-analysis-02.xml" >
+		   <param name="category-0-methods" expression="${category0.methods}"/>
+			<param name="category-B-methods" expression="${categoryB.methods}"/>
+			<param name="category-C-methods" expression="${categoryC.methods}"/>
+		   <param name="category-D-methods" expression="${categoryD.methods}"/>
+		</xslt>
 
 		<copy file="src/main/resources/xsl/average-results.xsl" tofile="logs/${DSTAMP}/${DSTAMP}-${time-stamp}/average-results.xsl">
 			<filterchain>
@@ -414,9 +429,6 @@
 			<param name="db-vendor-package.A" expression="${db-vendor-package.xpath.A}" />
 			<param name="db-vendor-package.B" expression="${db-vendor-package.xpath.B}" />
 		</xslt>
-
-		<copy file="logs/profiled/DATE-TIME-profile.xml" tofile="logs/${DSTAMP}/${DSTAMP}-${time-stamp}/${DSTAMP}-${time-stamp}-${resource.A.db.vendor}-${resource.B.db.vendor}-profile-raw.xml" />
-
 	</target>
 
 	<target name="usage">
@@ -426,7 +438,6 @@
 	<target name="transform">
 		<property name="db-vendor-package.A" value="com.mysql" />
 		<delete file="logs/agregate.xsl" />
-
 	</target>
 	<target name="transform-switch-package">
 		<xslt style="src/main/resources/xsl/package-switch-compactor.xsl" in="logs/20100125-0919/20100125-0919-${resource.A.db.vendor}-${resource.B.db.vendor}-profile-raw.xml" out="logs/20100125-0919/20100125-0919-${resource.A.db.vendor}-${resource.B.db.vendor}-profile-compacted.xml">
@@ -481,6 +492,13 @@
 
 	</target>
 	
+	<!--
+	Use this task to concatenate the profiling data from several executions of the profiling system.
+	Move the batched runs to a directory outside of the performance project on your system. Then 
+	modify the logs-dir-data property to the directory location.
+	The concatenated file contains all the content from the .csv files which is then ready to 
+	be pasted into the template spreadsheet.
+	 -->
 	<target name="concat-data">
 		<property name="logs-dir-base" value="/home/whitingjr/tsperf/logs/20100203"/>
 		



More information about the jboss-svn-commits mailing list