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

Robert Dale edited comment on TINKERPOP-1992 at 6/22/18 9:28 PM:
-----------------------------------------------------------------

Tested on TinkerGraph

 

Steps to reproduce:
{noformat}
gremlin> graph = TinkerFactory.createModern()
==>tinkergraph[vertices:6 edges:6]
gremlin> g = graph.traversal()
==>graphtraversalsource[tinkergraph[vertices:6 edges:6], standard]
gremlin> g.V().group().by().by(bothE().count()).profile()
==>Traversal Metrics
Step Count Traversers Time (ms) % Dur
=============================================================================================================
TinkerGraphStep(vertex,[]) 6 6 2.660 57.28
GroupStep(identity,[VertexStep(BOTH,edge), Prof... 1 1 1.984 42.72
 VertexStep(BOTH,edge) 12 12 0.557
 CountGlobalStep 6 6 -0.506
 >TOTAL - - 4.645 -
{noformat}


was (Author: rdale):
Tested on TinkerGraph

> 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