You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by up...@apache.org on 2018/11/27 22:26:30 UTC

[geode-benchmarks] 01/01: Increasing benchmark times to 5 minutes

This is an automated email from the ASF dual-hosted git repository.

upthewaterspout pushed a commit to branch feature/5_min_benchmarks
in repository https://gitbox.apache.org/repos/asf/geode-benchmarks.git

commit 65a2b943b64f86740f0c0edaf1ab189ad5d1d70f
Author: Dan Smith <up...@apache.org>
AuthorDate: Tue Nov 27 14:26:06 2018 -0800

    Increasing benchmark times to 5 minutes
---
 .../org/apache/geode/benchmark/tests/PartitionedGetBenchmark.java   | 6 ++++--
 .../org/apache/geode/benchmark/tests/PartitionedPutBenchmark.java   | 6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tests/PartitionedGetBenchmark.java b/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tests/PartitionedGetBenchmark.java
index a5ceeb7..d4a51c0 100644
--- a/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tests/PartitionedGetBenchmark.java
+++ b/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tests/PartitionedGetBenchmark.java
@@ -17,6 +17,8 @@
 
 package org.apache.geode.benchmark.tests;
 
+import java.util.concurrent.TimeUnit;
+
 import org.junit.Test;
 
 import org.apache.geode.benchmark.tasks.GetTask;
@@ -44,8 +46,8 @@ public class PartitionedGetBenchmark {
     int locatorPort = 10334;
 
     config.name(PartitionedGetBenchmark.class.getCanonicalName());
-    config.warmupSeconds(2);
-    config.durationSeconds(5);
+    config.warmupSeconds(TimeUnit.MINUTES.toSeconds(1));
+    config.durationSeconds(TimeUnit.MINUTES.toSeconds(4));
     config.role("locator", 1);
     config.role("server", 1);
     config.role("client", 1);
diff --git a/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tests/PartitionedPutBenchmark.java b/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tests/PartitionedPutBenchmark.java
index 6689911..ea17dcf 100644
--- a/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tests/PartitionedPutBenchmark.java
+++ b/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tests/PartitionedPutBenchmark.java
@@ -17,6 +17,8 @@
 
 package org.apache.geode.benchmark.tests;
 
+import java.util.concurrent.TimeUnit;
+
 import org.junit.Test;
 
 import org.apache.geode.benchmark.tasks.PutTask;
@@ -38,8 +40,8 @@ public class PartitionedPutBenchmark {
     int locatorPort = 10334;
 
     config.name(PartitionedPutBenchmark.class.getCanonicalName());
-    config.warmupSeconds(2);
-    config.durationSeconds(5);
+    config.warmupSeconds(TimeUnit.MINUTES.toSeconds(1));
+    config.durationSeconds(TimeUnit.MINUTES.toSeconds(4));
     config.role("locator", 1);
     config.role("server", 1);
     config.role("client", 1);