Github user ottobackwards commented on the issue:

    https://github.com/apache/metron/pull/873
  
    The last commit adds in the ability to tag timings, and to filter on those 
tags in the shell when calling %timing.
    
    LambdaExpressions are now timed as well.  When Lambdas are used with 
functions, you will see the 'nesting'
     
    I will update the PR description
    
    ```
    [Stellar]>>> foo:=1
    [Stellar]>>> match { foo == 0 => ()-> false, foo == 1 => ()-> 
TO_UPPER("true"), default => ()-> false }
    TRUE
    [Stellar]>>> %timing
    ->execute[] : 4242ms : 4242237640ns
    -->match { foo == 0 => ()-> false, foo == 1 => ()-> TO_UPPER("true"), 
default => ()-> false }[] : 84ms : 84362570ns
    --->lambda[LAMBDA] : 1ms : 1265895ns
    ---->TO_UPPER[FUNCTION] : 0ms : 570672ns
    
    [Stellar]>>> %timing FUNCTION
    ->execute[] : 7594ms : 7594583655ns
    -->match { foo == 0 => ()-> false, foo == 1 => ()-> TO_UPPER("true"), 
default => ()-> false }[] : 84ms : 84362570ns
    ---->TO_UPPER[FUNCTION] : 0ms : 570672ns
    
    [Stellar]>>> %timing LAMBDA
    ->execute[] : 14374ms : 14374556116ns
    -->match { foo == 0 => ()-> false, foo == 1 => ()-> TO_UPPER("true"), 
default => ()-> false }[] : 84ms : 84362570ns
    --->lambda[LAMBDA] : 1ms : 1265895ns
    ```
    
    NOTE: 


---

Reply via email to