You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Bob Briody (JIRA)" <ji...@apache.org> on 2015/07/08 21:35:04 UTC

[jira] [Created] (TINKERPOP3-763) IsStep broken when profiling is enabled.

Bob Briody created TINKERPOP3-763:
-------------------------------------

             Summary: IsStep broken when profiling is enabled.
                 Key: TINKERPOP3-763
                 URL: https://issues.apache.org/jira/browse/TINKERPOP3-763
             Project: TinkerPop 3
          Issue Type: Bug
          Components: process
            Reporter: Bob Briody
            Assignee: Marko A. Rodriguez
            Priority: Minor


The .profile()-Step and the is()-Step do not play well together. Results are not emitted when profiling is enabled. 

Perhaps this is the same type of issue that caused problems between the Profile and Where/Match steps???

{code}
gremlin> graph = TinkerFactory.createModern()
==>tinkergraph[vertices:6 edges:6]
gremlin> g = graph.traversal()
==>graphtraversalsource[tinkergraph[vertices:6 edges:6], standard]
gremlin> g.V().hasLabel("person").where(both("knows").values("age").is(lt(30)))
==>v[1]
==>v[2]
==>v[4]
gremlin> g.V().hasLabel("person").where(both("knows").values("age").is(lt(30))).profile().cap(TraversalMetrics.METRICS_KEY)
==>Traversal Metrics
Step                                                               Count  Traversers       Time (ms)    % Dur
=============================================================================================================
TinkerGraphStep(vertex,[~label.eq(person)])                            4           4           8.813    27.73
TraversalFilterStep([VertexStep(BOTH,[knows],ve...                     3           3           0.597     1.88
  VertexStep(BOTH,[knows],vertex)                                      3           3           0.108
  PropertiesStep([age],value)                                          3           3           0.080
  IsStep(lt(30))                                                       0           0           0.289
SideEffectCapStep([~metrics])                                          1           1          22.367    70.39
                                            >TOTAL                     -           -          31.777        -
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)