ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject ignite git commit: sql
Date Fri, 20 Nov 2015 14:03:51 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-sql-opt 65cb0310f -> 8030bbd7c


sql


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

Branch: refs/heads/ignite-sql-opt
Commit: 8030bbd7c27e80a20d36222b2e0b57b569449253
Parents: 65cb031
Author: sboikov <sboikov@gridgain.com>
Authored: Fri Nov 20 17:03:41 2015 +0300
Committer: sboikov <sboikov@gridgain.com>
Committed: Fri Nov 20 17:03:41 2015 +0300

----------------------------------------------------------------------
 .../apache/ignite/yardstick/cache/IgniteTempSqlBenchmark.java    | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/8030bbd7/modules/yardstick/src/main/java/org/apache/ignite/yardstick/cache/IgniteTempSqlBenchmark.java
----------------------------------------------------------------------
diff --git a/modules/yardstick/src/main/java/org/apache/ignite/yardstick/cache/IgniteTempSqlBenchmark.java
b/modules/yardstick/src/main/java/org/apache/ignite/yardstick/cache/IgniteTempSqlBenchmark.java
index ef9bb8d..b20fe13 100644
--- a/modules/yardstick/src/main/java/org/apache/ignite/yardstick/cache/IgniteTempSqlBenchmark.java
+++ b/modules/yardstick/src/main/java/org/apache/ignite/yardstick/cache/IgniteTempSqlBenchmark.java
@@ -201,6 +201,7 @@ public class IgniteTempSqlBenchmark {
         System.out.println("Warmup finished");
 
         long total = 0;
+        long total2 = 0;
         long cnt = 0;
 
         long endTime = System.currentTimeMillis() + 90_000;
@@ -218,12 +219,13 @@ public class IgniteTempSqlBenchmark {
             long ops2 = (long)((p2 - p1) / 5f);
 
             total += ops;
+            total2 += ops2;
             cnt++;
 
             System.out.println("Queries: " + ops + " Puts: " + ops2);
         }
 
-        System.out.println("Result: " + total / (float)cnt);
+        System.out.println("Result: " + total / (float)cnt + " " + total2 / (float)cnt);
 
         //ignite.compute().run(new Exit());
 


Mime
View raw message