Last active
March 1, 2019 15:41
-
-
Save spmallette/0ecbb0cbed83c5ff281cba4d1e999bac 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.addV("person").property(VertexProperty.Cardinality.single, "k", "v"). | |
......1> property(T.id , "id"). | |
......2> property(VertexProperty.Cardinality.list, "l", 1). | |
......3> property("x", "y"). | |
......4> property(VertexProperty.Cardinality.list, "l", 2). | |
......5> property("m", "m", "mm", "mm"). | |
......6> property("y", "z").profile() | |
org.apache.tinkerpop.gremlin.structure.T$2 cannot be cast to java.lang.String | |
Type ':help' or ':h' for help. | |
Display stack trace? [yN]n | |
gremlin> g.addV("person"). | |
......1> property(T.id , "id"). | |
......2> property(VertexProperty.Cardinality.single, "k", "v"). | |
......3> property(VertexProperty.Cardinality.list, "l", 1). | |
......4> property("x", "y"). | |
......5> property(VertexProperty.Cardinality.list, "l", 2). | |
......6> property("m", "m", "mm", "mm"). | |
......7> property("y", "z").profile() | |
==>Traversal Metrics | |
Step Count Traversers Time (ms) % Dur | |
============================================================================================================= | |
AddVertexStartStep({label=[person], id=[id]}) 1 1 0.080 8.48 | |
AddPropertyStep({key=[k], value=[v]}) 1 1 0.137 14.50 | |
AddPropertyStep({key=[l], value=[1]}) 1 1 0.076 8.06 | |
AddPropertyStep({key=[x], value=[y]}) 1 1 0.087 9.25 | |
AddPropertyStep({key=[l], value=[2]}) 1 1 0.081 8.65 | |
AddPropertyStep({mm=[mm], key=[m], value=[m]}) 1 1 0.381 40.29 | |
AddPropertyStep({key=[y], value=[z]}) 1 1 0.102 10.78 | |
>TOTAL - - 0.947 - |
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.addV("person"). | |
......1> property(T.id , "id"). | |
......2> property(VertexProperty.Cardinality.single, "k", "v"). | |
......3> property(VertexProperty.Cardinality.list, "l", 1). | |
......4> property("x", "y"). | |
......5> property(VertexProperty.Cardinality.list, "l", 2). | |
......6> property("m", "m", "mm", "mm"). | |
......7> property("y", "z").profile() | |
==>Traversal Metrics | |
Step Count Traversers Time (ms) % Dur | |
============================================================================================================= | |
AddVertexStartStep({id=[id], x=[y], label=[pers... 1 1 8.869 86.94 | |
AddPropertyStep({key=[k], value=[v]}) 1 1 0.960 9.41 | |
AddPropertyStep({key=[l], value=[1]}) 1 1 0.081 0.80 | |
AddPropertyStep({key=[l], value=[2]}) 1 1 0.079 0.78 | |
AddPropertyStep({mm=[mm], key=[m], value=[m]}) 1 1 0.211 2.07 | |
>TOTAL - - 10.201 - | |
gremlin> g.addV("person"). | |
......1> property(VertexProperty.Cardinality.single, "k", "v"). | |
......2> property(T.id , "id"). | |
......3> property(VertexProperty.Cardinality.list, "l", 1). | |
......4> property("x", "y"). | |
......5> property(VertexProperty.Cardinality.list, "l", 2). | |
......6> property("m", "m", "mm", "mm"). | |
......7> property("y", "z").profile() | |
==>Traversal Metrics | |
Step Count Traversers Time (ms) % Dur | |
============================================================================================================= | |
AddVertexStartStep({id=[id], x=[y], label=[pers... 1 1 0.195 26.49 | |
AddPropertyStep({key=[k], value=[v]}) 1 1 0.139 18.89 | |
AddPropertyStep({key=[l], value=[1]}) 1 1 0.147 19.97 | |
AddPropertyStep({key=[l], value=[2]}) 1 1 0.105 14.24 | |
AddPropertyStep({mm=[mm], key=[m], value=[m]}) 1 1 0.151 20.42 | |
>TOTAL - - 0.739 - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment