Open jnm2 opened 4 years ago
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:
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:
💡 As an expansion of https://github.com/tunnelvisionlabs/ReferenceAssemblyAnnotator/issues/53#issuecomment-552468534, 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?