polygene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nic...@apache.org
Subject [37/50] [abbrv] zest-qi4j git commit: ..
Date Fri, 17 Apr 2015 16:46:24 GMT
..


Project: http://git-wip-us.apache.org/repos/asf/zest-qi4j/repo
Commit: http://git-wip-us.apache.org/repos/asf/zest-qi4j/commit/8c01b5c6
Tree: http://git-wip-us.apache.org/repos/asf/zest-qi4j/tree/8c01b5c6
Diff: http://git-wip-us.apache.org/repos/asf/zest-qi4j/diff/8c01b5c6

Branch: refs/heads/ramtej-fb/spatial.queries
Commit: 8c01b5c65d56a520906094ae92991e3211df9943
Parents: d305f9d
Author: jj <juergen.jetmar@gmail.com>
Authored: Thu Jan 15 19:40:16 2015 +0100
Committer: jj <juergen.jetmar@gmail.com>
Committed: Thu Jan 15 19:40:16 2015 +0100

----------------------------------------------------------------------
 .../extension/spatial/ElasticSearchSpatialBench.java             | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/8c01b5c6/extensions/indexing-elasticsearch/src/test/java/org/qi4j/index/elasticsearch/extension/spatial/ElasticSearchSpatialBench.java
----------------------------------------------------------------------
diff --git a/extensions/indexing-elasticsearch/src/test/java/org/qi4j/index/elasticsearch/extension/spatial/ElasticSearchSpatialBench.java
b/extensions/indexing-elasticsearch/src/test/java/org/qi4j/index/elasticsearch/extension/spatial/ElasticSearchSpatialBench.java
index 0ffa488..67a9623 100644
--- a/extensions/indexing-elasticsearch/src/test/java/org/qi4j/index/elasticsearch/extension/spatial/ElasticSearchSpatialBench.java
+++ b/extensions/indexing-elasticsearch/src/test/java/org/qi4j/index/elasticsearch/extension/spatial/ElasticSearchSpatialBench.java
@@ -137,13 +137,13 @@ public class ElasticSearchSpatialBench
 
         // System.out.println("spherical " + xy[0] + " " + xy[1] );
         long start = System.currentTimeMillis();
-        for (int j = 0; j < 1000; j++)
+        for (int j = 0; j < 10000; j++)
         {
             System.out.println("--> " + j);
             UnitOfWork unitOfWork = module.newUnitOfWork();
 
 
-            for (int i = 0; i < 10000; i++) {
+            for (int i = 0; i < 1000; i++) {
                 double[] xy = nextSpherePt2D();
                 //System.out.println("Degrees " + DistanceUtils.toDegrees(xy[0]) + "," +
DistanceUtils.toDegrees(xy[1]));
 


Mime
View raw message