ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject [06/14] ignite git commit: ignite-1.6 Additional logging in benchmark.
Date Tue, 17 May 2016 13:48:48 GMT
ignite-1.6 Additional logging in benchmark.


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

Branch: refs/heads/master
Commit: fb0b0e0124eb42a2d81011e2eea567a70228c55e
Parents: 21daa23
Author: sboikov <sboikov@gridgain.com>
Authored: Tue May 17 13:55:04 2016 +0300
Committer: sboikov <sboikov@gridgain.com>
Committed: Tue May 17 13:55:04 2016 +0300

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


http://git-wip-us.apache.org/repos/asf/ignite/blob/fb0b0e01/modules/yardstick/src/main/java/org/apache/ignite/yardstick/cache/IgniteCacheAbstractBenchmark.java
----------------------------------------------------------------------
diff --git a/modules/yardstick/src/main/java/org/apache/ignite/yardstick/cache/IgniteCacheAbstractBenchmark.java
b/modules/yardstick/src/main/java/org/apache/ignite/yardstick/cache/IgniteCacheAbstractBenchmark.java
index 6c25ec0..da5cb1d 100644
--- a/modules/yardstick/src/main/java/org/apache/ignite/yardstick/cache/IgniteCacheAbstractBenchmark.java
+++ b/modules/yardstick/src/main/java/org/apache/ignite/yardstick/cache/IgniteCacheAbstractBenchmark.java
@@ -27,6 +27,7 @@ import java.util.concurrent.atomic.AtomicInteger;
 import org.apache.ignite.IgniteCache;
 import org.apache.ignite.cache.affinity.Affinity;
 import org.apache.ignite.cluster.ClusterNode;
+import org.apache.ignite.configuration.CacheConfiguration;
 import org.apache.ignite.internal.util.typedef.T2;
 import org.apache.ignite.internal.util.typedef.internal.U;
 import org.apache.ignite.yardstick.IgniteAbstractBenchmark;
@@ -52,6 +53,10 @@ public abstract class IgniteCacheAbstractBenchmark<K, V> extends
IgniteAbstractB
 
         cache = cache();
 
+        BenchmarkUtils.println(cfg, "Benchmark setUp [name=" + getClass().getSimpleName()
+
+            ", cacheName="+ cache.getName() +
+            ", cacheCfg=" + cache.getConfiguration(CacheConfiguration.class) + ']');
+
         if (args.printPartitionStatistics()) {
             Map<ClusterNode, T2<List<Integer>, List<Integer>>> parts
= new HashMap<>();
 


Mime
View raw message