Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-5763

Loading of rules from plugins is too long at startup

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Database, Rules
    • Labels:
      None
    • Edition:
      Community

      Description

      The three hotspots are:

      • no usage of SQL batch inserts/updates. That requires to replace rule ID by rule UUID in foreign keys of RULES and RULES_PARAMETERS
      • execution of masks in sonar-classloader
      • some plugins like Java, JS and C# introspect classes of checks in order to extract metadata. This is much slower than parsing a text file (XML, JSON, ...)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                freddy.mallet Freddy Mallet (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: