Return-Path: X-Original-To: apmail-ignite-commits-archive@minotaur.apache.org Delivered-To: apmail-ignite-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7FAFF18C63 for ; Wed, 24 Jun 2015 08:28:07 +0000 (UTC) Received: (qmail 81251 invoked by uid 500); 24 Jun 2015 08:28:07 -0000 Delivered-To: apmail-ignite-commits-archive@ignite.apache.org Received: (qmail 81222 invoked by uid 500); 24 Jun 2015 08:28:07 -0000 Mailing-List: contact commits-help@ignite.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.incubator.apache.org Delivered-To: mailing list commits@ignite.incubator.apache.org Received: (qmail 81213 invoked by uid 99); 24 Jun 2015 08:28:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Jun 2015 08:28:07 +0000 X-ASF-Spam-Status: No, hits=-2001.4 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 24 Jun 2015 08:25:55 +0000 Received: (qmail 80957 invoked by uid 99); 24 Jun 2015 08:27:42 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Jun 2015 08:27:42 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 30646E3651; Wed, 24 Jun 2015 08:27:42 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sboikov@apache.org To: commits@ignite.incubator.apache.org Date: Wed, 24 Jun 2015 08:27:50 -0000 Message-Id: <6ba9c8c332864fbcbb8ebaa69020763b@git.apache.org> In-Reply-To: <1619bffa22224e7481c868d07d8f74ac@git.apache.org> References: <1619bffa22224e7481c868d07d8f74ac@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [10/10] incubator-ignite git commit: #ignite-yardstick-client change benchmark. X-Virus-Checked: Checked by ClamAV on apache.org #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 Authored: Wed Jun 24 11:27:35 2015 +0300 Committer: nikolay_tikhonov 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, ""); - 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());