You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by dk...@apache.org on 2015/04/14 01:01:53 UTC
incubator-tinkerpop git commit: Fixed groupCount performance.
Repository: incubator-tinkerpop
Updated Branches:
refs/heads/master 54d909f8e -> 0eddf8ecc
Fixed groupCount performance.
groupCount step is no longer a sideEffect step, hence .cap() has to be removed.
Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/0eddf8ec
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/0eddf8ec
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/0eddf8ec
Branch: refs/heads/master
Commit: 0eddf8eccf80673473533c186a7aef2c0d00edc1
Parents: 54d909f
Author: Daniel Kuppitz <da...@hotmail.com>
Authored: Tue Apr 14 00:58:28 2015 +0200
Committer: Daniel Kuppitz <da...@hotmail.com>
Committed: Tue Apr 14 00:58:28 2015 +0200
----------------------------------------------------------------------
.../tinkerpop/gremlin/process/TraversalPerformanceTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/0eddf8ec/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/TraversalPerformanceTest.java
----------------------------------------------------------------------
diff --git a/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/TraversalPerformanceTest.java b/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/TraversalPerformanceTest.java
index aed4b23..773b819 100644
--- a/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/TraversalPerformanceTest.java
+++ b/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/TraversalPerformanceTest.java
@@ -107,8 +107,8 @@ public class TraversalPerformanceTest extends AbstractGremlinTest {
@BenchmarkOptions(benchmarkRounds = DEFAULT_BENCHMARK_ROUNDS, warmupRounds = DEFAULT_WARMUP_ROUNDS, concurrency = BenchmarkOptions.CONCURRENCY_SEQUENTIAL)
@LoadGraphWith(LoadGraphWith.GraphData.GRATEFUL)
@Test
- public void g_V_label_groupCount_cap() throws Exception {
- g.V().label().groupCount("x").cap("x").iterate();
+ public void g_V_label_groupCount() throws Exception {
+ g.V().label().groupCount().iterate();
}
@BenchmarkOptions(benchmarkRounds = DEFAULT_BENCHMARK_ROUNDS, warmupRounds = DEFAULT_WARMUP_ROUNDS, concurrency = BenchmarkOptions.CONCURRENCY_SEQUENTIAL)