You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Raluca Grigoras (JIRA)" <ji...@apache.org> on 2017/04/26 07:22:04 UTC

[jira] [Created] (FELIX-5623) Improve performance of ComponentImpl.getName method

Raluca Grigoras created FELIX-5623:
--------------------------------------

             Summary: Improve performance of ComponentImpl.getName method
                 Key: FELIX-5623
                 URL: https://issues.apache.org/jira/browse/FELIX-5623
             Project: Felix
          Issue Type: Improvement
          Components: Dependency Manager
            Reporter: Raluca Grigoras
            Priority: Minor


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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)