Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-2364

Injected ProfileStep should not be displayed in child traversals

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.3.10
    • 3.5.0, 3.4.9
    • process
    • None

    Description

      I imagine that ProfileStep is visible in child traversals for profile() output because we simple toString() the parent step:

      gremlin> g.V().local(out().fold()).profile()
      ==>Traversal Metrics
      Step                                                               Count  Traversers       Time (ms)    % Dur
      =============================================================================================================
      TinkerGraphStep(vertex,[])                                             1           1           0.092    68.58
      LocalStep([VertexStep(OUT,vertex), ProfileStep,...                     1           1           0.042    31.42
        VertexStep(OUT,vertex)                                               1           1           0.013
        FoldStep                                                             1           1           0.011
                                                  >TOTAL                     -           -           0.134        -
      

      It would be nice if for purpose of the profile() output at least if that could be cleaned up.

      Attachments

        Activity

          People

            spmallette Stephen Mallette
            spmallette Stephen Mallette
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: