Skip to content
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

LightupHelpers CanWrapNode, CanWrapObject and CanWrapOperation are performance sensitive #8106

Closed
martin-strecker-sonarsource opened this issue Sep 28, 2023 · 0 comments · Fixed by #8107
Assignees
Labels
Area: C# C# rules related issues. Area: VB.NET VB.NET rules related issues. Type: Performance It takes too long.
Milestone

Comments

@martin-strecker-sonarsource
Copy link
Contributor

martin-strecker-sonarsource commented Sep 28, 2023

All three methods are on the hot path and should avoid allocations. They are currently responsible for 239MB (of 24.381MB) allocations:

image

@martin-strecker-sonarsource martin-strecker-sonarsource added Area: VB.NET VB.NET rules related issues. Area: C# C# rules related issues. Type: Performance It takes too long. labels Sep 28, 2023
@martin-strecker-sonarsource martin-strecker-sonarsource changed the title LightupHelpers CanWrapNode and CanWrapOperation are performance sensitive LightupHelpers CanWrapNode, CanWrapOperation and CanWrapOperation are performance sensitive Sep 28, 2023
@martin-strecker-sonarsource martin-strecker-sonarsource changed the title LightupHelpers CanWrapNode, CanWrapOperation and CanWrapOperation are performance sensitive LightupHelpers CanWrapNode, CanWrapObject and CanWrapOperation are performance sensitive Sep 28, 2023
@andrei-epure-sonarsource andrei-epure-sonarsource added this to the 9.13 milestone Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: C# C# rules related issues. Area: VB.NET VB.NET rules related issues. Type: Performance It takes too long.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants