jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r995106 - /jackrabbit/trunk/test/performance/plot.sh
Date Wed, 08 Sep 2010 15:47:27 GMT
Author: jukka
Date: Wed Sep  8 15:47:27 2010
New Revision: 995106

URL: http://svn.apache.org/viewvc?rev=995106&view=rev
Log:
JCR-2695: Jackrabbit performance test suite

Add automatic scaling of result graphs

Modified:
    jackrabbit/trunk/test/performance/plot.sh

Modified: jackrabbit/trunk/test/performance/plot.sh
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/test/performance/plot.sh?rev=995106&r1=995105&r2=995106&view=diff
==============================================================================
--- jackrabbit/trunk/test/performance/plot.sh (original)
+++ jackrabbit/trunk/test/performance/plot.sh Wed Sep  8 15:47:27 2010
@@ -34,10 +34,11 @@ done
 
 for dat in target/*.txt; do
     name=`basename "$dat" .txt`
+    rows=`grep -v "#" "$dat" | wc -l`
     gnuplot <<PLOT
 set term svg
 set xlabel "Jackrabbit version"
-set xrange [-1:10]
+set xrange [-1:$rows]
 set ylabel "Time (ms)"
 set yrange [0:]
 set output "target/$name.svg"



Mime
View raw message