You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by ok...@apache.org on 2015/11/30 21:59:51 UTC
[2/4] incubator-tinkerpop git commit: replace
graphProvider.convertId(1, Vertex.class) with convertToVertexId("Marko")
replace graphProvider.convertId(1, Vertex.class) with convertToVertexId("Marko")
Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/8b4f53c1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/8b4f53c1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/8b4f53c1
Branch: refs/heads/master
Commit: 8b4f53c1963dead1d29041250225e0e5f295da24
Parents: 3a78fdb
Author: pieter <pi...@gmail.com>
Authored: Mon Nov 30 22:25:31 2015 +0200
Committer: pieter <pi...@gmail.com>
Committed: Mon Nov 30 22:25:31 2015 +0200
----------------------------------------------------------------------
.../gremlin/groovy/loaders/SugarLoaderPerformanceTest.groovy | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/8b4f53c1/gremlin-groovy-test/src/main/groovy/org/apache/tinkerpop/gremlin/groovy/loaders/SugarLoaderPerformanceTest.groovy
----------------------------------------------------------------------
diff --git a/gremlin-groovy-test/src/main/groovy/org/apache/tinkerpop/gremlin/groovy/loaders/SugarLoaderPerformanceTest.groovy b/gremlin-groovy-test/src/main/groovy/org/apache/tinkerpop/gremlin/groovy/loaders/SugarLoaderPerformanceTest.groovy
index 021ba41..e9d992c 100644
--- a/gremlin-groovy-test/src/main/groovy/org/apache/tinkerpop/gremlin/groovy/loaders/SugarLoaderPerformanceTest.groovy
+++ b/gremlin-groovy-test/src/main/groovy/org/apache/tinkerpop/gremlin/groovy/loaders/SugarLoaderPerformanceTest.groovy
@@ -111,27 +111,27 @@ class SugarLoaderPerformanceTest extends AbstractGremlinTest {
@LoadGraphWith(LoadGraphWith.GraphData.MODERN)
@Test
public void java_g_VX1X_name() throws Exception {
- g.V(graphProvider.convertId(1, Vertex.class)).values("name").iterate()
+ g.V(convertToVertexId("marko")).values("name").iterate()
}
@BenchmarkOptions(benchmarkRounds = SugarLoaderPerformanceTest.DEFAULT_BENCHMARK_ROUNDS, warmupRounds = SugarLoaderPerformanceTest.DEFAULT_WARMUP_ROUNDS, concurrency = BenchmarkOptions.CONCURRENCY_SEQUENTIAL)
@LoadGraphWith(LoadGraphWith.GraphData.MODERN)
@Test
public void groovy_g_VX1X_name() throws Exception {
- g.V(graphProvider.convertId(1, Vertex.class)).name.iterate()
+ g.V(convertToVertexId("marko")).name.iterate()
}
@BenchmarkOptions(benchmarkRounds = SugarLoaderPerformanceTest.DEFAULT_BENCHMARK_ROUNDS, warmupRounds = SugarLoaderPerformanceTest.DEFAULT_WARMUP_ROUNDS, concurrency = BenchmarkOptions.CONCURRENCY_SEQUENTIAL)
@LoadGraphWith(LoadGraphWith.GraphData.MODERN)
@Test
public void java_g_VX1X_outE() throws Exception {
- g.V(graphProvider.convertId(1, Vertex.class)).outE().iterate()
+ g.V(convertToVertexId("marko")).outE().iterate()
}
@BenchmarkOptions(benchmarkRounds = SugarLoaderPerformanceTest.DEFAULT_BENCHMARK_ROUNDS, warmupRounds = SugarLoaderPerformanceTest.DEFAULT_WARMUP_ROUNDS, concurrency = BenchmarkOptions.CONCURRENCY_SEQUENTIAL)
@LoadGraphWith(LoadGraphWith.GraphData.MODERN)
@Test
public void groovy_g_VX1X_outE() throws Exception {
- g.V(graphProvider.convertId(1, Vertex.class)).outE.iterate()
+ g.V(convertToVertexId("marko")).outE.iterate()
}
}