Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-5051

Improve performance of Find Usages

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 12.2
    • None
    • php - Refactoring
    • None

    Description

      Action "Find Usages" in PHP Editor is very slow when looking for public/protected methods with generic names like "create()", "get()" or "add()" in large codebases.

       It is because every file containing symbol with given name is parsed during search.

      Todo comment in Find Usages action suggests that preformance can be improved by indexing.

       Find Usages in Java code is way faster than in PHP.

      Example of large PHP codebase is Symfony Framework, for large Java project I used PHP Editor from NetBeans source.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            Kacer Tomáš Procházka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: