-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Performance: UtilityAnalyzerBase calls GetSemanticModel for each SyntaxTree #8412
Performance: UtilityAnalyzerBase calls GetSemanticModel for each SyntaxTree #8412
Conversation
ef9a621
to
b3801a6
Compare
Kudos, SonarCloud Quality Gate passed! |
Kudos, SonarCloud Quality Gate passed! |
Overall runtimeRavenDB (baae94d) Before 00:02:11.92 After Akka Before (master c8facab) 00:01:24.06 After 00:01:14.65 Akka - HotsptsThe hotspots are distributed very differently between master and this PR for akka (red: functionality affected by this PR, blue: others not affected)):
Other analyzers are either stable or performing about 40% worse than before
Overall the time savings seem to overcompensate any losses in other analyzers. Akka - Lock contention and concurrencyLock contention went up from 638s to 967s. In user code, the picture is different: The lock contention of 2,5sec on |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
@martin-strecker-sonarsource it would be interesting to see before and after on bigger projects. |
@costin-zaharia-sonarsource and I agreed on acceptance criteria previously. They are described here: |
Fixes #6558
Fixes #7368
See #7368 (comment) for the acceptance criteria.