Permalink
Browse files

Add script for n chains

  • Loading branch information...
n1hility committed May 18, 2010
1 parent d7e3be4 commit 6986af008f7dd7da39a4d3c9fec69ab52f1bc16d
Showing with 14 additions and 0 deletions.
  1. +14 −0 bench-tenforward.sh
View
@@ -0,0 +1,14 @@
+i=0
+while [ $i -le 120000 ]
+do
+ java -Xms2g -Xmx2g -classpath "./target/test-classes:./target/classes:$HOME/.m2/repository/org/jboss/modules/jboss-modules/1.0.0.Beta1-SNAPSHOT/jboss-modules-1.0.0.Beta1-SNAPSHOT.jar:$HOME/.m2/repository/org/jboss/jboss-vfs/3.0.0.CR5/jboss-vfs-3.0.0.CR5.jar:$HOME/.m2/repository/org/jboss/logging/jboss-logging/3.0.0.Beta2/jboss-logging-3.0.0.Beta2.jar:$HOME/.m2/repository/org/jboss/threads/jboss-threads/2.0.0.CR4/jboss-threads-2.0.0.CR4.jar:$HOME/.m2/repository/junit/junit/4.7/junit-4.7.jar" org.jboss.msc.bench.TenForwardBench $i
+ i=$(( $i + 5000 ))
+
+done
+i=200000
+while [ $i -le 1000000 ]
+do
+ java -XX:MaxPermSize=512M -Xms2g -Xmx2g -classpath "./target/test-classes:./target/classes:$HOME/.m2/repository/org/jboss/modules/jboss-modules/1.0.0.Beta1-SNAPSHOT/jboss-modules-1.0.0.Beta1-SNAPSHOT.jar:$HOME/.m2/repository/org/jboss/jboss-vfs/3.0.0.CR5/jboss-vfs-3.0.0.CR5.jar:$HOME/.m2/repository/org/jboss/logging/jboss-logging/3.0.0.Beta2/jboss-logging-3.0.0.Beta2.jar:$HOME/.m2/repository/org/jboss/threads/jboss-threads/2.0.0.CR4/jboss-threads-2.0.0.CR4.jar:$HOME/.m2/repository/junit/junit/4.7/junit-4.7.jar" org.jboss.msc.bench.TenForwardBench $i
+ i=$(( $i + 100000 ))
+
+done

0 comments on commit 6986af0

Please sign in to comment.