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

Improve performance of source persistence in the Compute Engine

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.4
    • Component/s: Compute Engine
    • Labels:
      None

      Description

      Step PersistingFileSource is taking a very long time on projects with lots of files and big source code (eg. clang).

      According to profiling, most of the time is spent in method org.sonar.server.computation.source.SymbolsLineReader.matchLine and it also trigger a lot of memory allocation (protobuf deserialization for most, but not sure that's all).

      SymbolsLineReader should be refactored to perform better.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sebastien.lesaint Sebastien Lesaint
                Reporter:
                sebastien.lesaint Sebastien Lesaint
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: