You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by ju...@apache.org on 2010/09/08 17:47:27 UTC
svn commit: r995106 - /jackrabbit/trunk/test/performance/plot.sh
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"