Skip to content

Instantly share code, notes, and snippets.

@okram
Created August 15, 2014 20:21
Show Gist options
  • Save okram/49d6a37c4d55fc3c4cb3 to your computer and use it in GitHub Desktop.
Save okram/49d6a37c4d55fc3c4cb3 to your computer and use it in GitHub Desktop.
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