Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-5623

Improve performance of ComponentImpl.getName method

    XMLWordPrintableJSON

Details

    Description

      We are using the dependency manager diagnostics API (the dependency graph) in our application to display all components (registered and unregistered) in the application UI (similar to the 'dm' shell command). We ran into a performance problem (requesting the whole dependency graph takes very long), and after profiling I found out that the ComponentImpl.getName method is the reason. The component name is generated each time the method is called, making the dependency graph generation slow.

      Attachments

        1. FELIX-5632.patch
          8 kB
          Raluca Grigoras

        Activity

          People

            pderop Pierre De Rop
            ralucav Raluca Grigoras
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: