jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r995690 - in /jackrabbit/trunk/test/performance: base/src/main/java/org/apache/jackrabbit/performance/AbstractPerformanceTest.java plot.sh
Date Fri, 10 Sep 2010 07:43:31 GMT
Author: jukka
Date: Fri Sep 10 07:43:31 2010
New Revision: 995690

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

Switch to using percentiles (10%, 50%, 90%) in performance reporting

Modified:
    jackrabbit/trunk/test/performance/base/src/main/java/org/apache/jackrabbit/performance/AbstractPerformanceTest.java
    jackrabbit/trunk/test/performance/plot.sh

Modified: jackrabbit/trunk/test/performance/base/src/main/java/org/apache/jackrabbit/performance/AbstractPerformanceTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/test/performance/base/src/main/java/org/apache/jackrabbit/performance/AbstractPerformanceTest.java?rev=995690&r1=995689&r2=995690&view=diff
==============================================================================
--- jackrabbit/trunk/test/performance/base/src/main/java/org/apache/jackrabbit/performance/AbstractPerformanceTest.java
(original)
+++ jackrabbit/trunk/test/performance/base/src/main/java/org/apache/jackrabbit/performance/AbstractPerformanceTest.java
Fri Sep 10 07:43:31 2010
@@ -133,18 +133,18 @@ public abstract class AbstractPerformanc
             try {
                 if (needsPrefix) {
                     writer.format(
-                            "# %-34.34s     avg     std     min     max   count%n",
+                            "# %-34.34s     min     10%     50%     90%     max%n",
                             test);
                 }
 
                 writer.format(
                         "%-36.36s  %6.0f  %6.0f  %6.0f  %6.0f  %6d%n",
                         name,
-                        statistics.getMean(),
-                        statistics.getStandardDeviation(),
                         statistics.getMin(),
-                        statistics.getMax(),
-                        statistics.getN());
+                        statistics.getPercentile(10.0),
+                        statistics.getPercentile(50.0),
+                        statistics.getPercentile(90.0),
+                        statistics.getMax());
             } finally {
                 writer.close();
             }

Modified: jackrabbit/trunk/test/performance/plot.sh
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/test/performance/plot.sh?rev=995690&r1=995689&r2=995690&view=diff
==============================================================================
--- jackrabbit/trunk/test/performance/plot.sh (original)
+++ jackrabbit/trunk/test/performance/plot.sh Fri Sep 10 07:43:31 2010
@@ -43,7 +43,7 @@ set ylabel "Time (ms)"
 set yrange [0:]
 set output "target/$name.svg"
 set title "$name"
-plot "$dat" using 0:3:4:xtic(1) with errorlines notitle
+plot "$dat" using 0:4:3:5:xtic(1) with yerrorlines notitle
 PLOT
     convert "target/$name.svg" "target/$name.png"
     cat <<HTML >>target/report.html



Mime
View raw message