-
Notifications
You must be signed in to change notification settings - Fork 8
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
Look for performance opportunities #53
Comments
How do you generate this report? |
http://msbuildlog.com/. It's a bit like F12 developer tools but for MSBuild. |
Here's what dotTrace found. Highlights:
Ideas
|
Cecil's assembly resolver doesn't specify deferred loading when it reads assembly files. A custom resolver might pay off. |
😃 huge win with #54. Total assembly resolve time is 964 ms (version 1.0.0-alpha.99.g7d2f4a388d): Where alpha.97 took 8328 ms: Total time is now 17.4 seconds: |
#54 is a good start. I think we could consider this issue closed with a second step modeled after dotnet/roslyn-sdk#329.
|
💡 As an expansion of #53 (comment), we could place a text file in the output directory listing the inputs to the conversion. It wouldn't be consumed directly by the build, but it could be used as the lock file and would make it easier to review the outputs manually. |
AnnotatorBuildTask is taking 24.6 seconds for rebuilds out of 48.3 seconds total, more than doubling the build time. I guess the first step would be to profile?
The text was updated successfully, but these errors were encountered: