You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by sb...@apache.org on 2016/09/20 11:32:31 UTC

ignite git commit: Configure sequence batch size in IgniteAtomicSequenceBenchmark.

Repository: ignite
Updated Branches:
  refs/heads/master 19c7f3882 -> f6d42f3e3


Configure sequence batch size in IgniteAtomicSequenceBenchmark.


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

Branch: refs/heads/master
Commit: f6d42f3e304a7947824650e5a7692fb787174ebf
Parents: 19c7f38
Author: sboikov <sb...@gridgain.com>
Authored: Tue Sep 20 14:32:23 2016 +0300
Committer: sboikov <sb...@gridgain.com>
Committed: Tue Sep 20 14:32:23 2016 +0300

----------------------------------------------------------------------
 .../ignite/yardstick/cache/IgniteAtomicSequenceBenchmark.java      | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/f6d42f3e/modules/yardstick/src/main/java/org/apache/ignite/yardstick/cache/IgniteAtomicSequenceBenchmark.java
----------------------------------------------------------------------
diff --git a/modules/yardstick/src/main/java/org/apache/ignite/yardstick/cache/IgniteAtomicSequenceBenchmark.java b/modules/yardstick/src/main/java/org/apache/ignite/yardstick/cache/IgniteAtomicSequenceBenchmark.java
index 4b2f085..e961439 100644
--- a/modules/yardstick/src/main/java/org/apache/ignite/yardstick/cache/IgniteAtomicSequenceBenchmark.java
+++ b/modules/yardstick/src/main/java/org/apache/ignite/yardstick/cache/IgniteAtomicSequenceBenchmark.java
@@ -34,6 +34,8 @@ public class IgniteAtomicSequenceBenchmark extends IgniteAbstractBenchmark {
         super.setUp(cfg);
 
         seq = ignite().atomicSequence("benchSequence", 0, true);
+
+        seq.batchSize(args.batch());
     }
 
     /** {@inheritDoc} */