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.