jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1532745 - /jackrabbit/oak/trunk/oak-run/run_concurrent.sh
Date Wed, 16 Oct 2013 12:21:31 GMT
Author: angela
Date: Wed Oct 16 12:21:31 2013
New Revision: 1532745

URL: http://svn.apache.org/r1532745
Log:
OAK-527: benchmark tests

Modified:
    jackrabbit/oak/trunk/oak-run/run_concurrent.sh

Modified: jackrabbit/oak/trunk/oak-run/run_concurrent.sh
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-run/run_concurrent.sh?rev=1532745&r1=1532744&r2=1532745&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-run/run_concurrent.sh (original)
+++ jackrabbit/oak/trunk/oak-run/run_concurrent.sh Wed Oct 16 12:21:31 2013
@@ -20,7 +20,7 @@ RUNTIME=20
 BENCH=ConcurrentReadAccessControlledTreeTest
 FIXS="Oak-Tar" # Jackrabbit"
 THREADS="1 2 4 8 10 12 14 16 18 20"
-
+PROFILE=false
 
 LOG="bench_$(date +'%Y%m%d_%H%M%S').csv"
 echo "Benchmarks: $BENCH" > $LOG
@@ -28,6 +28,7 @@ echo "Fixtures: $FIXS" >> $LOG
 echo "Users: $USERS" >> $LOG
 echo "Runtime: $RUNTIME" >> $LOG
 echo "Concurrency: $THREADS" >> $LOG
+echo "Profiling: $PROFILE" >> $LOG
 echo "--------------------------------------" >> $LOG
 for user in $USERS
     do
@@ -36,7 +37,7 @@ for user in $USERS
     for i in $THREADS
         do
         rm -rf target/Jackrabbit-* target/Oak-Tar-*
-        cmd="java -Xmx2048m -Druntime=$RUNTIME -jar target/oak-run-*-SNAPSHOT.jar benchmark
--csvFile $LOG --bgReaders $i --runAsAdmin $user --report false $BENCH $FIXS"
+        cmd="java -Xmx2048m -Dprofile=$PROFILE -Druntime=$RUNTIME -jar target/oak-run-*-SNAPSHOT.jar
benchmark --csvFile $LOG --bgReaders $i --runAsAdmin $user --report false $BENCH $FIXS"
         echo $cmd
         $cmd 
     done



Mime
View raw message