Commit 7784c35e authored by John Zhang's avatar John Zhang

daytrader: calibrated workload

- increased workload for both tradesoap and tradebeans;
- use tagged workload names for the 2 benchmarks;
- avoid testing when building daytrader,
  which makes building daytrader a bit faster;
parent dc91db00
......@@ -6,25 +6,25 @@ benchmark tradebeans
size small args "tiny"
threads 1 // per available processor
thread-limit 32
output stdout digest 0x5a30ffed74076fdbb2d5dab15f9a817749d9a1cc,
output stdout digest 0x3c7bdc67bde327e6077ba4b85b8060106d0f269d,
stderr digest 0xda39a3ee5e6b4b0d3255bfef95601890afd80709;
size default args "medium"
size default args "default-bean"
threads 1 // per available processor
thread-limit 512
output stdout digest 0x97218b209c8cff8abb73e196e1d0b5336c48070b,
thread-limit 2048
output stdout digest 0x573bab09932ed32193e0f4d6c4adc829a2554857,
stderr digest 0xda39a3ee5e6b4b0d3255bfef95601890afd80709;
size large args "large"
size large args "large-bean"
threads 1 // per available processor
thread-limit 2048
output stdout digest 0xdff3d827b054ce54df6bbc3f1484797875a36e1d,
thread-limit 8192
output stdout digest 0xbaf7b415c0fef17f44cd0d13c45ab76b644a90b7,
stderr digest 0xda39a3ee5e6b4b0d3255bfef95601890afd80709;
size huge args "huge"
size huge args "huge-bean"
threads 1 // per available processor
thread-limit 8192
output stdout digest 0x8e4068f7372432f2b68a227d67d7a11476abf63b,
thread-limit 32768
output stdout digest 0x7d549bb05c16933d2d640c35d4d77d6d2f74afc1,
stderr digest 0xda39a3ee5e6b4b0d3255bfef95601890afd80709;
description
......
......@@ -6,25 +6,25 @@ benchmark tradesoap
size small args "tiny"
threads 1 // per available processor
thread-limit 32
output stdout digest 0x2a84dd127d63448986bea07be0214d7ee51f7dc5,
output stdout digest 0xeeaa145fd2ebf5af98cd8069712e6d8bc9744597,
stderr digest 0xda39a3ee5e6b4b0d3255bfef95601890afd80709;
size default args "small"
size default args "default-soap"
threads 1 // per available processor
thread-limit 128
output stdout digest 0x9e532fc3da9de06c04d182c3534ff559c023716f,
output stdout digest 0x656ac002f88881fb07289919a41f98f4000f47e0,
stderr digest 0xda39a3ee5e6b4b0d3255bfef95601890afd80709;
size large args "medium"
size large args "large-soap"
threads 1 // per available processor
thread-limit 512
output stdout digest 0x617bb19d906415c191371d9df518940ccbb45a06,
output stdout digest 0x499687b82fe293e09e12a67d6ba451df439fd7d0,
stderr digest 0xda39a3ee5e6b4b0d3255bfef95601890afd80709;
size huge args "large"
thread-limit 2048
size huge args "huge-soap"
threads 1 // per available processor
output stdout digest 0x119b2f96f0ba8f8c1de12ef77bf7951730f6c2a9,
thread-limit 2048
output stdout digest 0x64a2b5e1f040414a34c8070052efcdcf7b5e2913,
stderr digest 0xda39a3ee5e6b4b0d3255bfef95601890afd80709;
description
......
......@@ -434,6 +434,7 @@ See ${log.build.report} for a summary of benchmark build status.
<target name="tradesoap" depends="init,harness">
<build.bm benchmark="tradesoap"/>
</target>
<target name="daytrader" depends="tradebeans, tradesoap"/>
<target name="xalan" depends="init,harness">
<build.bm benchmark="xalan"/>
</target>
......
......@@ -158,15 +158,22 @@
<target name="data" depends="build.init">
<!-- build required plugins -->
<exec executable="${mvn}" dir="${lib-build-dir}/plugins/client" failonerror="yes" failifexecutionfails="yes"/>
<exec executable="${mvn}" dir="${lib-build-dir}/plugins/cxf" failonerror="yes" failifexecutionfails="yes"/>
<exec executable="${mvn}" dir="${lib-build-dir}/plugins/axis" failonerror="yes" failifexecutionfails="yes"/>
<exec executable="${mvn}" dir="${lib-build-dir}/plugins/client" failonerror="yes" failifexecutionfails="yes">
<arg value="-Dmaven.test.skip=true"/>
</exec>
<exec executable="${mvn}" dir="${lib-build-dir}/plugins/cxf" failonerror="yes" failifexecutionfails="yes">
<arg value="-Dmaven.test.skip=true"/>
</exec>
<exec executable="${mvn}" dir="${lib-build-dir}/plugins/axis" failonerror="yes" failifexecutionfails="yes">
<arg value="-Dmaven.test.skip=true"/>
</exec>
<!-- build daytrader -->
<exec executable="${mvn}" dir="${dt-build}">
<env key="PATH" path="${env.PATH}:${toolsdir}/apache-maven-${mvn.version}/bin:${JAVA_HOME}/bin"/>
<env key="GERONIMO_HOME" value="${ger-home}"/>
<env key="MAVEN_OPTS" value="-Xms256m -Xmx512m -XX:MaxPermSize=128m"/>
<arg value="-Dmaven.test.skip=true"/>
<arg value="clean"/>
<arg value="install"/>
</exec>
......
......@@ -55,10 +55,12 @@ my %users = ();
my $output_dir = shift(@ARGV);
my %sessions = ("tiny" => 32,
"small" => 128,
"medium" => 512,
"large" => 2048,
"huge" => 8192);
"default-soap" => 128,
"default-bean" => 2048,
"large-soap" => 512,
"large-bean" => 8192,
"huge-soap" => 2048,
"huge-bean" => 32768);
my %stockquotes = ();
init($output_dir);
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment