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

VisitAllSourceTypesAndNamespaces parallelizes even when the resulting execution is slower #23918

Open
sharwell opened this issue Dec 22, 2017 · 0 comments
Labels
Area-Compilers Bug Developer Community The issue was originally reported on https://developercommunity.visualstudio.com Tenet-Performance Regression in measured performance of the product from goals.
Milestone

Comments

@sharwell
Copy link
Member

sharwell commented Dec 22, 2017

During evaluation of feedback High CPU usage when idle, calls to VisitAllSourceTypesAndNamespaces reveal CPU performance overhead of 15% for execution of tasks, while less than 3% of the overall CPU usage is actually used by the body of these tasks. As an initial step to improve this overhead, the VisitAllSourceTypesAndNamespaces method should be updated to avoid wrapping execution in a Task for cases where the source only contains a single type.

@sharwell sharwell added Area-Compilers Bug Developer Community The issue was originally reported on https://developercommunity.visualstudio.com Tenet-Performance Regression in measured performance of the product from goals. labels Dec 22, 2017
@gafter gafter added this to the Compiler.Next milestone Aug 4, 2019
@jaredpar jaredpar modified the milestones: Compiler.Next, Backlog Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Compilers Bug Developer Community The issue was originally reported on https://developercommunity.visualstudio.com Tenet-Performance Regression in measured performance of the product from goals.
Projects
None yet
Development

No branches or pull requests

3 participants