[ 
https://issues.apache.org/jira/browse/TINKERPOP-3145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stephen Mallette updated TINKERPOP-3145:
----------------------------------------
    Description: 
{code}
gremlin> g.V().group().by().by(bothE().order().fold()).profile()
==>Traversal Metrics
Step                                                               Count  
Traversers       Time (ms)    % Dur
=============================================================================================================
TinkerGraphStep(vertex,[])                                             6        
   6           0.129     4.50
GroupStep(identity,[VertexStep(BOTH,edge), Orde...                     1        
   1           2.739    95.50
  VertexStep(BOTH,edge)                                               12        
  12           0.073
  OrderGlobalStep                                                     12        
  12           2.199
  FoldStep                                                             6        
   6          -1.862
                                            >TOTAL                     -        
   -           2.868        -
{code}

This is a bit of an extension to TINKERPOP-1992

  was:
{{code}}
gremlin> g.V().group().by().by(bothE().order().fold()).profile()
==>Traversal Metrics
Step                                                               Count  
Traversers       Time (ms)    % Dur
=============================================================================================================
TinkerGraphStep(vertex,[])                                             6        
   6           0.129     4.50
GroupStep(identity,[VertexStep(BOTH,edge), Orde...                     1        
   1           2.739    95.50
  VertexStep(BOTH,edge)                                               12        
  12           0.073
  OrderGlobalStep                                                     12        
  12           2.199
  FoldStep                                                             6        
   6          -1.862
                                            >TOTAL                     -        
   -           2.868        -
{{code}}

This is a bit of an extension to TINKERPOP-1992


> Fix negative time in profile() for certain cases of group()
> -----------------------------------------------------------
>
>                 Key: TINKERPOP-3145
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-3145
>             Project: TinkerPop
>          Issue Type: Bug
>          Components: process
>    Affects Versions: 3.7.3
>            Reporter: Stephen Mallette
>            Priority: Major
>
> {code}
> gremlin> g.V().group().by().by(bothE().order().fold()).profile()
> ==>Traversal Metrics
> Step                                                               Count  
> Traversers       Time (ms)    % Dur
> =============================================================================================================
> TinkerGraphStep(vertex,[])                                             6      
>      6           0.129     4.50
> GroupStep(identity,[VertexStep(BOTH,edge), Orde...                     1      
>      1           2.739    95.50
>   VertexStep(BOTH,edge)                                               12      
>     12           0.073
>   OrderGlobalStep                                                     12      
>     12           2.199
>   FoldStep                                                             6      
>      6          -1.862
>                                             >TOTAL                     -      
>      -           2.868        -
> {code}
> This is a bit of an extension to TINKERPOP-1992



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to