Stephen Mallette created TINKERPOP-2364:
-------------------------------------------
Summary: Injected ProfileStep should not be displayed in child
traversals
Key: TINKERPOP-2364
URL: https://issues.apache.org/jira/browse/TINKERPOP-2364
Project: TinkerPop
Issue Type: Bug
Components: process
Affects Versions: 3.3.10
Reporter: Stephen Mallette
I imagine that {{ProfileStep}} is visible in child traversals for {{profile()}}
output because we simple {{toString()}} the parent step:
{code}
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 -
{code}
It would be nice if for purpose of the {{profile()}} output at least if that
could be cleaned up.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)