incubator-olio-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sha...@apache.org
Subject svn commit: r818243 - /incubator/olio/workload/php/trunk/src/org/apache/olio/workload/driver/UIDriver.java
Date Wed, 23 Sep 2009 20:34:41 GMT
Author: shanti
Date: Wed Sep 23 20:34:40 2009
New Revision: 818243

URL: http://svn.apache.org/viewvc?rev=818243&view=rev
Log:
Fix for OLIO-127. Fix as described in JIRA.
Fix for OLIO-81. Previous fix of raising the min. to 1 second proved insufficient. AddPerson
now has a min. cycle time of 2 secs and AddEvent has 3 secs.

Modified:
    incubator/olio/workload/php/trunk/src/org/apache/olio/workload/driver/UIDriver.java

Modified: incubator/olio/workload/php/trunk/src/org/apache/olio/workload/driver/UIDriver.java
URL: http://svn.apache.org/viewvc/incubator/olio/workload/php/trunk/src/org/apache/olio/workload/driver/UIDriver.java?rev=818243&r1=818242&r2=818243&view=diff
==============================================================================
--- incubator/olio/workload/php/trunk/src/org/apache/olio/workload/driver/UIDriver.java (original)
+++ incubator/olio/workload/php/trunk/src/org/apache/olio/workload/driver/UIDriver.java Wed
Sep 23 20:34:40 2009
@@ -375,10 +375,11 @@
         selectedEvent = RandomUtil.randomEvent(random, responseBuffer);
         logger.finer("Images loaded: " + imagesLoaded);
         logger.finer("Image bytes loaded: " + imgBytes);
-        if (ctx.isTxSteadyState())
+        if (ctx.isTxSteadyState()) {
             driverMetrics.homePageImages += images.size();
             driverMetrics.homePageImagesLoaded += imagesLoaded;
             driverMetrics.homePageImageBytes += imgBytes;
+        }
     }
 
     @BenchmarkOperation (
@@ -479,7 +480,8 @@
     @NegativeExponential(
         cycleType = CycleType.CYCLETIME,
         cycleMean = 5000,
-        cycleMin = 1000,
+        cycleMin = 3000,
+        truncateAtMin = false,
         cycleDeviation = 2
     )
     public void doAddEvent() throws IOException {
@@ -539,7 +541,8 @@
     @NegativeExponential(
         cycleType = CycleType.CYCLETIME,
         cycleMean = 5000,
-        cycleMin = 1000,
+        cycleMin = 2000,
+        truncateAtMin = false,
         cycleDeviation = 2
     )
     public void doAddPerson() throws IOException {



Mime
View raw message