jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tri...@apache.org
Subject svn commit: r1528900 - /jackrabbit/oak/trunk/oak-run/run_concurrent.sh
Date Thu, 03 Oct 2013 14:50:23 GMT
Author: tripod
Date: Thu Oct  3 14:50:22 2013
New Revision: 1528900

URL: http://svn.apache.org/r1528900
Log:
@trivial add simple script to execute several concurrent tests

Added:
    jackrabbit/oak/trunk/oak-run/run_concurrent.sh   (with props)

Added: jackrabbit/oak/trunk/oak-run/run_concurrent.sh
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-run/run_concurrent.sh?rev=1528900&view=auto
==============================================================================
--- jackrabbit/oak/trunk/oak-run/run_concurrent.sh (added)
+++ jackrabbit/oak/trunk/oak-run/run_concurrent.sh Thu Oct  3 14:50:22 2013
@@ -0,0 +1,15 @@
+#!/bin/sh
+AS_ADMIN=false
+RUNTIME=20
+BENCH=ConcurrentReadAccessControlledTreeTest
+for fix in Oak-Tar Jackrabbit 
+    do
+    for i in 1 2 4 8 10 12 14 16 18 20 
+    do
+	echo "Executing benchmark with $i threads on $fix"
+        rm -rf target/jackrabbit-*
+	cmd="java -Xmx2048m -Druntime=$RUNTIME -jar target/oak-run-0.10-SNAPSHOT.jar benchmark --bgReaders
$i --runAsAdmin $AS_ADMIN --report false $BENCH $fix"
+	echo $cmd
+	$cmd
+    done
+done

Propchange: jackrabbit/oak/trunk/oak-run/run_concurrent.sh
------------------------------------------------------------------------------
    svn:executable = *



Mime
View raw message