Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-1085

NoopTimer#start should not create a new NoopContext for every invocation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • avatica-1.7.0
    • avatica
    • None

    Description

      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.

      Attachments

        Activity

          People

            elserj Josh Elser
            elserj Josh Elser
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: