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

stephen mallette commented on TINKERPOP-1688:
---------------------------------------------

Going with a format that basically looks like this:

{code}
Step                                                               Count  
Traversers       Time (ms)    % Dur
=============================================================================================================
TinkerGraphStep(vertex,[])                                             6        
   6           0.077     8.48
    \_annotation-1=1234
    \_annotation-2=this is a long one. it will wrap nicely from one line to the 
next when it gets longer than
                   than the end of the line and then you get this nice wrapping 
action which is good 
HasStep([~label.eq(person)])                                          48        
   4           0.054     5.90
PropertiesStep([age],value)                                           48        
   4           0.056     6.13
SumGlobalStep                                                          1        
   1           0.098    10.72
                                            >TOTAL                     -        
   -           0.919        -
{code}

Obviously annotations will only displayed if they are present.

> Include TraversalMetrics annotation in pretty print
> ---------------------------------------------------
>
>                 Key: TINKERPOP-1688
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1688
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: process
>    Affects Versions: 3.2.4
>            Reporter: stephen mallette
>            Assignee: stephen mallette
>
> Currently annotations on metrics are not displayed when you view the results 
> of a {{profile()}} via {{toString()}}. Including annotations might provide 
> important information to users that would otherwise be hidden or force the 
> user to manually pick apart the {{TraversalMetrics}} object itself which 
> isn't convenient.



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

Reply via email to