Josh Elser created CALCITE-1085:
-----------------------------------

             Summary: NoopTimer#start should not create a new NoopContext for 
every invocation
                 Key: CALCITE-1085
                 URL: https://issues.apache.org/jira/browse/CALCITE-1085
             Project: Calcite
          Issue Type: Improvement
          Components: avatica
            Reporter: Josh Elser
            Assignee: Josh Elser
            Priority: Minor
             Fix For: next


Just noticed that I forgot to make NoopTimer return a singleton NoopContext 
from {{#start}}. This is going to increase the burden for metrics for the noop 
case, potentially creating a lot of garbage on the heap.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to