Interpreting MSBuild Performance Summary Output -
I am trying to understand some performance summary output from MSBuild. The result will look like this:
Target display summary: 0 MS PrepareForRun 74 calls 0 MS Compiled 74 calls ......... ... 15,173 MS ResolveProjectReferences 74 calls 29607 MS Build 75 Call Task Performance Summary: 2 MS 6 Call 2 MS ResolveKeySource 1 Call ... ... ... 3623 MS 511 Call 7468 MS ResolveAssemblyReference 74 Call 11234 MS Exec 12 Call 48600 MS MSBuild Copy 210 Call Successful Build CreateCSharpManifestResourceName . 0 Warning (s) 0 Error (s) Timeout 00: 00: 29.60
Why is the total time for MSBuild exceeding the total time spent? Actual stopwatch time was actually ~ 29 seconds to run this build. These are the summaries that I tell online that there are any examples of total tasks and target times are the same. Text after "
MSBuild and CallTarget tasks include other goals (and thus other tasks) to spend those tasks The time taken is counted along with MSBuild and CAllTarget tasks. A bug, in fact So while reading this data, always ignore those two tasks, consolidate other tasks, should be slightly below the total construction time.
Comments
Post a Comment