Created
August 15, 2014 20:21
-
-
Save okram/49d6a37c4d55fc3c4cb3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gremlin> g = TinkerGraph.open() | |
==>tinkergraph[vertices:0 edges:0] | |
gremlin> g.loadGraphML('data/grateful-dead.xml') | |
==>null | |
gremlin> clock(1000){g.V.has('name','Garcia').next()} | |
==>0.11787599999999974 | |
gremlin> g = TinkerGraph.open() | |
==>tinkergraph[vertices:0 edges:0] | |
gremlin> g.createIndex('name',Vertex.class) | |
==>null | |
gremlin> g.loadGraphML('data/grateful-dead.xml') | |
==>null | |
gremlin> clock(1000){g.V.has('name','Garcia').next()} | |
==>0.03508100000000018 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment