removed the toy file and updated CHANGELOG.
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/dc38b435 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/dc38b435 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/dc38b435 Branch: refs/heads/tp32 Commit: dc38b435341d587c4d3c89bbc4b5261148077b0a Parents: e925808 Author: Marko A. Rodriguez <[email protected]> Authored: Thu Jan 5 16:59:14 2017 -0700 Committer: Marko A. Rodriguez <[email protected]> Committed: Thu Jan 5 17:00:17 2017 -0700 ---------------------------------------------------------------------- CHANGELOG.asciidoc | 2 +- .../groovy/TinkerGraphGroovyPlayTest.groovy | 53 -------------------- 2 files changed, 1 insertion(+), 54 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/dc38b435/CHANGELOG.asciidoc ---------------------------------------------------------------------- diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc index 1fc5355..f8c9743 100644 --- a/CHANGELOG.asciidoc +++ b/CHANGELOG.asciidoc @@ -29,7 +29,7 @@ TinkerPop 3.2.4 (Release Date: NOT OFFICIALLY RELEASED YET) * Added documentation around "terminal steps" in Gremlin: `hasNext()`, `next()`, `toList()`, etc. * Fixed minor bug in `gremlin-driver` where closing a session-based `Client` without initializing it could generate an error. * Relieved synchronization pressure in various areas of `TinkerGraphComputer`. -* Fixed an optimization bug in `DedupGlobalStep` in OLAP where deduping occurred twice. +* Fixed an optimization bug in OLAP-based `DedupGlobalStep` where deduping occurred twice. * `MemoryComputeKey` now implements `Cloneable` which is useful for `BiOperator` reducers that maintain thread-unsafe state. * `TinkerGraphComputer` now supports distributed `Memory` with lock-free partition aggregation. * `TinkerGraph` Gryo and GraphSON deserialization is now configured to use multi-properties. http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/dc38b435/tinkergraph-gremlin/src/test/java/org/apache/tinkerpop/gremlin/tinkergraph/process/groovy/TinkerGraphGroovyPlayTest.groovy ---------------------------------------------------------------------- diff --git a/tinkergraph-gremlin/src/test/java/org/apache/tinkerpop/gremlin/tinkergraph/process/groovy/TinkerGraphGroovyPlayTest.groovy b/tinkergraph-gremlin/src/test/java/org/apache/tinkerpop/gremlin/tinkergraph/process/groovy/TinkerGraphGroovyPlayTest.groovy deleted file mode 100644 index a736f3d..0000000 --- a/tinkergraph-gremlin/src/test/java/org/apache/tinkerpop/gremlin/tinkergraph/process/groovy/TinkerGraphGroovyPlayTest.groovy +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tinkerpop.gremlin.tinkergraph.process.groovy - -import org.apache.tinkerpop.gremlin.process.computer.Computer -import org.apache.tinkerpop.gremlin.structure.T -import org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph -import org.apache.tinkerpop.gremlin.util.TimeUtil -import org.junit.Ignore -import org.junit.Test - -/** - * @author Marko A. Rodriguez (http://markorodriguez.com) - */ -class TinkerGraphGroovyPlayTest { - - @Test - @Ignore - public void testStuff() { - - def graph = TinkerGraph.open() - def g = graph.traversal() - def a = graph.traversal().withComputer(Computer.compute()) - def r = new Random(123) - - (1..1000000).each { - def vid = ["a", "b", "c", "d"].collectEntries { [it, r.nextInt() % 400000] } - graph.addVertex(T.id, vid) - }; [] - - println TimeUtil.clockWithResult(1) { g.V().id().select("c").count().next() } - println TimeUtil.clockWithResult(1) { g.V().id().select("c").dedup().count().next() } - println TimeUtil.clockWithResult(1) { a.V().id().select("c").count().next() } - println TimeUtil.clockWithResult(1) { a.V().id().select("c").dedup().count().next() } - } -}
