[ 
https://issues.apache.org/jira/browse/TINKERPOP-1637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16024495#comment-16024495
 ] 

Bryn Cooke commented on TINKERPOP-1637:
---------------------------------------

Something like:
{noformat}
gremlin> g = 
EmptyGraph.instance().traversal().withRemote('conf/remote-graph.properties')
==>graphtraversalsource[emptygraph[empty], standard]
gremlin> g.V().out().out().profile().next().toString()
==>Traversal Metrics
Step                                                               Count  
Traversers       Time (ms)    % Dur
=============================================================================================================
TinkerGraphStep(vertex,[])                                             1        
   1           0.051    21.09
   key1=value1
   key2=value2
VertexStep(OUT,vertex)                                                          
               0.068    27.90
   key1=value1
   key3=value3
NoOpBarrierStep(2500)                                                           
               0.036    14.64
   key1=value1
VertexStep(OUT,vertex)                                                          
               0.038    15.63
   key1=value1
   key3=value3
NoOpBarrierStep(2500)                                                           
               0.051    20.74
                                            >TOTAL                     -        
   -           0.246        -
{noformat}

> Expose metrics attributes in string output
> ------------------------------------------
>
>                 Key: TINKERPOP-1637
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1637
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: process
>    Affects Versions: 3.2.4
>            Reporter: Bryn Cooke
>
> Currently the profile step won't expose metrics attributes in the string 
> output. This means that useful information provided by graph implementations 
> is never output.
> It would be great if the attributes could be output indented under each 
> metric.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to