ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [10/10] incubator-ignite git commit: #ignite-yardstick-client change benchmark.
Date Wed, 24 Jun 2015 08:27:50 GMT
#ignite-yardstick-client change benchmark.


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/8f6db614
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/8f6db614
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/8f6db614

Branch: refs/heads/ignite-yardstick-client
Commit: 8f6db614995b3f6578caf95c61718dfb18d6a79a
Parents: d7af8f2
Author: nikolay_tikhonov <ntikhonov@gridgain.com>
Authored: Wed Jun 24 11:27:35 2015 +0300
Committer: nikolay_tikhonov <ntikhonov@gridgain.com>
Committed: Wed Jun 24 11:27:35 2015 +0300

----------------------------------------------------------------------
 .../yardstick/IgniteAbstractBenchmark.java      | 20 ++++++++++----------
 .../IgnitePutGetClientPerThreadBenchmark.java   |  2 --
 2 files changed, 10 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8f6db614/modules/yardstick/src/main/java/org/apache/ignite/yardstick/IgniteAbstractBenchmark.java
----------------------------------------------------------------------
diff --git a/modules/yardstick/src/main/java/org/apache/ignite/yardstick/IgniteAbstractBenchmark.java
b/modules/yardstick/src/main/java/org/apache/ignite/yardstick/IgniteAbstractBenchmark.java
index b9e553f..d56b431 100644
--- a/modules/yardstick/src/main/java/org/apache/ignite/yardstick/IgniteAbstractBenchmark.java
+++ b/modules/yardstick/src/main/java/org/apache/ignite/yardstick/IgniteAbstractBenchmark.java
@@ -43,16 +43,16 @@ public abstract class IgniteAbstractBenchmark extends BenchmarkDriverAdapter
{
 
         jcommander(cfg.commandLineArguments(), args, "<ignite-driver>");
 
-        if (Ignition.state() != IgniteState.STARTED) {
-            node = new IgniteNode(false);
-
-            node.start(cfg);
-        }
-        else
-            // Support for mixed benchmarks mode.
-            node = new IgniteNode(false, Ignition.ignite());
-
-        waitForNodes();
+//        if (Ignition.state() != IgniteState.STARTED) {
+//            node = new IgniteNode(false);
+//
+//            node.start(cfg);
+//        }
+//        else
+//            // Support for mixed benchmarks mode.
+//            node = new IgniteNode(false, Ignition.ignite());
+//
+//        waitForNodes();
     }
 
     /** {@inheritDoc} */

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8f6db614/modules/yardstick/src/main/java/org/apache/ignite/yardstick/cache/IgnitePutGetClientPerThreadBenchmark.java
----------------------------------------------------------------------
diff --git a/modules/yardstick/src/main/java/org/apache/ignite/yardstick/cache/IgnitePutGetClientPerThreadBenchmark.java
b/modules/yardstick/src/main/java/org/apache/ignite/yardstick/cache/IgnitePutGetClientPerThreadBenchmark.java
index 5aa8550..e33b7b7 100644
--- a/modules/yardstick/src/main/java/org/apache/ignite/yardstick/cache/IgnitePutGetClientPerThreadBenchmark.java
+++ b/modules/yardstick/src/main/java/org/apache/ignite/yardstick/cache/IgnitePutGetClientPerThreadBenchmark.java
@@ -50,8 +50,6 @@ public class IgnitePutGetClientPerThreadBenchmark extends IgniteCacheAbstractBen
 
             nodes.put(idSeq.getAndIncrement(), node);
         }
-        else
-            TimeUnit.SECONDS.sleep(1);
 
         int key = nextRandom(args.range());
 


Mime
View raw message