incubator-olio-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sha...@apache.org
Subject svn commit: r818272 - /incubator/olio/workload/rails/trunk/src/org/apache/olio/workload/driver/UIDriver.java
Date Wed, 23 Sep 2009 21:21:28 GMT
Author: shanti
Date: Wed Sep 23 21:21:14 2009
New Revision: 818272

URL: http://svn.apache.org/viewvc?rev=818272&view=rev
Log:
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/rails/trunk/src/org/apache/olio/workload/driver/UIDriver.java

Modified: incubator/olio/workload/rails/trunk/src/org/apache/olio/workload/driver/UIDriver.java
URL: http://svn.apache.org/viewvc/incubator/olio/workload/rails/trunk/src/org/apache/olio/workload/driver/UIDriver.java?rev=818272&r1=818271&r2=818272&view=diff
==============================================================================
--- incubator/olio/workload/rails/trunk/src/org/apache/olio/workload/driver/UIDriver.java
(original)
+++ incubator/olio/workload/rails/trunk/src/org/apache/olio/workload/driver/UIDriver.java
Wed Sep 23 21:21:14 2009
@@ -265,7 +265,8 @@
     private String checkNameURL;
     // private String updatePageURL; //POST gettextafterinsert.php list=attendees
     private String fileServiceURL;
-    private String[] homepageStatics,  personStatics,  personGets,  tagSearchStatics,  eventDetailStatics,
 addPersonStatics,  addEventStatics;
+    private String[] homepageStatics, tagSearchStatics, personStatics, personGets,
+            eventDetailStatics, addPersonStatics, addEventStatics;
     File eventImg, eventThumb, eventPdf, personImg, personThumb;
     private boolean isLoggedOn = false;
     private String username;
@@ -506,9 +507,16 @@
         }
     }
 
-    @BenchmarkOperation(name = "AddEvent",
-    max90th = 4,
-    timing = Timing.MANUAL)
+    @BenchmarkOperation(
+        name = "AddEvent",
+        max90th = 4,
+        timing = Timing.MANUAL)
+    @NegativeExponential(
+        cycleType = CycleType.CYCLETIME,
+        cycleMean = 5000,
+        cycleMin = 3000,
+        truncateAtMin = false,
+        cycleDeviation = 2)
     public void doAddEvent() throws Exception {
         logger.finer("entering doAddEvent()");
         if (!isLoggedOn) {
@@ -583,6 +591,12 @@
     @BenchmarkOperation(name = "AddPerson",
     max90th = 3,
     timing = Timing.MANUAL)
+    @NegativeExponential(
+        cycleType = CycleType.CYCLETIME,
+        cycleMean = 5000,
+        cycleMin = 2000,
+        truncateAtMin = false,
+        cycleDeviation = 2)
     public void doAddPerson() throws Exception {
         logger.finer("doAddPerson");
         if (isLoggedOn) {



Mime
View raw message