felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raluca Grigoras (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FELIX-5623) Improve performance of ComponentImpl.getName method
Date Wed, 26 Apr 2017 07:22:04 GMT
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)

Mime
View raw message