You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2015/05/05 21:46:27 UTC
incubator-tinkerpop git commit: Some more log message changes for
profiler.
Repository: incubator-tinkerpop
Updated Branches:
refs/heads/master 2c8139feb -> 139649708
Some more log message changes for profiler.
Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/13964970
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/13964970
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/13964970
Branch: refs/heads/master
Commit: 13964970884800b9d1311094bee6cc6f086d8953
Parents: 2c8139f
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Tue May 5 15:46:10 2015 -0400
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Tue May 5 15:46:10 2015 -0400
----------------------------------------------------------------------
.../gremlin/driver/benchmark/ProfilingApplication.java | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/13964970/gremlin-driver/src/test/java/org/apache/tinkerpop/gremlin/driver/benchmark/ProfilingApplication.java
----------------------------------------------------------------------
diff --git a/gremlin-driver/src/test/java/org/apache/tinkerpop/gremlin/driver/benchmark/ProfilingApplication.java b/gremlin-driver/src/test/java/org/apache/tinkerpop/gremlin/driver/benchmark/ProfilingApplication.java
index 675a11b..9339ab6 100644
--- a/gremlin-driver/src/test/java/org/apache/tinkerpop/gremlin/driver/benchmark/ProfilingApplication.java
+++ b/gremlin-driver/src/test/java/org/apache/tinkerpop/gremlin/driver/benchmark/ProfilingApplication.java
@@ -128,19 +128,24 @@ public class ProfilingApplication {
final int warmups = 3;
final int executions = 10;
final int clients = 1;
- final int requests = 100000;
+ final int requests = 10000;
final Cluster cluster = Cluster.build(host)
.minConnectionPoolSize(256)
.maxConnectionPoolSize(256)
.nioPoolSize(clients)
.workerPoolSize(clients * 2).create();
+ System.out.println("---------------------------WARMUP CYCLE---------------------------");
for (int ix = 0; ix < warmups; ix ++) {
+ TimeUnit.SECONDS.sleep(1); // pause between executions
new ProfilingApplication("warmup-" + (ix + 1), cluster, clients, requests).execute();
}
+
+ System.out.println("----------------------------TEST CYCLE----------------------------");
long totalRequestsPerSecond = 0;
for (int ix = 0; ix < executions; ix ++) {
+ TimeUnit.SECONDS.sleep(1); // pause between executions
totalRequestsPerSecond += new ProfilingApplication("test-" + (ix + 1), cluster, clients, requests).execute();
}