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

ASF GitHub Bot commented on TINKERPOP-1992:
-------------------------------------------

spmallette commented on pull request #1069: TINKERPOP-1992 count has negative 
time in profile
URL: https://github.com/apache/tinkerpop/pull/1069
 
 
   https://issues.apache.org/jira/browse/TINKERPOP-1992
   
   Not sure if this the best way to do this but basically introduced an 
interface called `ProfilingAware` that makes it so that `ProfileStrategy` can 
notify that step that "profiling" is happening so that the step has a chance to 
get its life in order. For this particular problem, that meant that `group()` 
needed to reset its reducing barrier step (if present) for its value traversal 
(i.e. second `by()` modulator) so that it could internally start the profile 
timer (which doesn't happen otherwise. 
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> count has negative time in profile
> ----------------------------------
>
>                 Key: TINKERPOP-1992
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1992
>             Project: TinkerPop
>          Issue Type: Bug
>          Components: process
>    Affects Versions: 3.3.3, 3.2.9
>            Reporter: Robert Dale
>            Priority: Minor
>
> {noformat}
> gremlin> g.V().group().by().by(bothE().count()).profile()
> ==>Traversal Metrics
> Step                                                               Count  
> Traversers       Time (ms)    % Dur
> =============================================================================================================
> TinkerGraphStep(vertex,[])                                         19172      
>  19172           4.957     5.24
> GroupStep(identity,[VertexStep(BOTH,edge), Prof...                     1      
>      1          89.696    94.76
>   VertexStep(BOTH,edge)                                            84812      
>  84812          50.723
>   CountGlobalStep                                                  19172      
>  19172         -39.649
>                                             >TOTAL                     -      
>      -          94.654        -
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to