[jbosstools-issues] [JBoss JIRA] (JBIDE-12490) Improve type resolution performance

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Fri Aug 24 17:31:14 EDT 2012


Viacheslav Kabanovich created JBIDE-12490:
---------------------------------------------

             Summary: Improve type resolution performance
                 Key: JBIDE-12490
                 URL: https://issues.jboss.org/browse/JBIDE-12490
             Project: Tools (JBoss Tools)
          Issue Type: Sub-task
          Components: common/jst/core
    Affects Versions: 3.3.0.Final
            Reporter: Viacheslav Kabanovich
            Assignee: Viacheslav Kabanovich
             Fix For: 4.0.0.M1


Method IType.resolveType(String typeName) is rather slow - it takes about 5ms for a class with ~20 imports and ~3 super types. For a middle size project with ~500 classes and ~100 type references per class it will take about 4 minutes to resolve all of them. We should try to do our best to resolve type in a simplified way and invoke IType.resolveType only when it fails.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list