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

On batch side, support a new profiling option "sonar.showProfiling=true" to know where time is spent

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6
    • Component/s: None
    • Labels:
      None

      Description

      When this option is activated, we expect to get the following log at the end of the batch execution (when the project contains several modules we should get this both at the end of the module and project exection) :

      • Decorators execution time : 1mn 23s <- sorted by execution time
      • Sensors execution time : 45s
      • Post-Jobs execution time : 35s
      • Sensors execution time breakdown
        • JavaSquidSensor : 72ms <- sorted by execution time
        • CheckstyleSensor : 10s
        • ...
      • Decorators execution time breakdown
        • ViolationTrackingDecorator : 23s
        • EventDecorator: 21s
        • ..
      • Post-Jobs execution time breakdown
        • Views : 20s
        • DeveloperCockpit : 10s
        • DBCleaner : 5s

      Moreover on the DBCleaner we expect to see the time required to purge each table: duplications_index, dependencies, ...

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              henryju OLD - Julien HENRY
              Reporter:
              freddy.mallet Freddy Mallet (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: