Company
Date Published
Author
Alexandre Gigleux
Word count
966
Language
English
Hacker News points
None

Summary

The performance goals for Sonar analysis have been defined to provide clear expectations for users and ensure consistent comparisons across different tools and outcomes. The goal is to analyze a project's first set of files in under 40 minutes, with specific target times depending on the project size, and code change analyses taking less than 1 minute for small changesets. Historical performance data shows that Sonar has made progress towards these goals, but there is still room for improvement, particularly for Java projects and pull requests containing a majority of Java code. To achieve this, the team plans to optimize pull request analysis time by leveraging a new cache mechanism storing project-level data, starting with Java projects before expanding to other languages. Users can contribute by providing feedback on improvements to confirm internal measurements of reduced overall analysis duration.