Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-4790

Creating FileRef objects is expensive

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.7.3, 1.8.1
    • 1.9.0
    • None

    Description

      While profiling tablet servers doing lots of small scans, I noticed that creating FileRef objects was very expensive.  The constructor spends a lot of time parsing the URL.  This expense could be avoided with a simple String to FileRef cache.

      Attachments

        Issue Links

          Activity

            People

              kturner Keith Turner
              kturner Keith Turner
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m