Skip to content

Instantly share code, notes, and snippets.

@davkean
Last active September 15, 2017 04:57
Show Gist options
  • Save davkean/b258201aa6da76996c2db0160173c956 to your computer and use it in GitHub Desktop.
Save davkean/b258201aa6da76996c2db0160173c956 to your computer and use it in GitHub Desktop.

Console Application (.NET Framework)

msbuild.exe /nologo /m:1 /v:m /clp:Summary;PerformanceSummary "Project.csproj" /t:Rebuild
Scenario Inclusive (ms) Inclusive (%)
Evaluation 293 33%
Targets 452 52%
Total (inc overhead) 870 100%
Pass File Line # Expression Inc (ms) Inc (%) Exc (ms) Exc (%) # Bug
Total Evaluation 293 100% 19 6.5%
Properties (Pass 1) 146 49.7% 5 1.6%
Evaluation Event 274 93.5% 3 1%
ItemDefinitionGroup (Pass 2) 11 3.7% 0 0%
Items (Pass 3) 40 13.7% 2 0.6%
Lazy Items (Pass 3.1) 49 16.8% 17 5.7%
UsingTasks (Pass 4) 9 3.2% 9 3.2%
Targets (Pass 5) 16 5.4% 1 0.3%
Items (Pass 3) Project.csproj 35 <Reference Include="System" /> 20 6.9% 20 6.9% 1
Properties (Pass 1) Project.csproj 3 Condition="Exists('e:\msbuild\bin\Release\x86\Windows_NT\Output\$(MSBuildToolsVersion)\Microsoft.Com... 18 6% 18 6% 1
Lazy Items (Pass 3.1) Microsoft.Common.CurrentVersion.targets 369 <_DebugSymbolsOutputPath Include="@(_DebugSymbolsIntermediatePath-&gt;'$(OutDir)%(Filename)%(Extensi... 17 5.9% 17 5.9% 1
Properties (Pass 1) Project.csproj 3 <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="... 59 20.2% 16 5.5% 1
Properties (Pass 1) Microsoft.Common.CurrentVersion.targets 83 <FrameworkPathOverride Condition="'$(FrameworkPathOverride)' == ''" >$([Microsoft.Build.Utilities.To... 14 4.9% 14 4.9% 1
Properties (Pass 1) Microsoft.Common.CurrentVersion.targets 92 <TargetPlatformSdkPath Condition="'$(TargetPlatformSdkPath)' == ''" >$([Microsoft.Build.Utilities.To... 14 4.7% 14 4.7% 1
ItemDefinitionGroup (Pass 2) Microsoft.Common.CurrentVersion.targets 1661 <ProjectReference ><!-- Target to build in the project reference; by default, this property is blank... 10 3.5% 10 3.5% 1
Items (Pass 3) Microsoft.Common.CurrentVersion.targets 368 Condition="'$(OutputType)' != 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''") 10 3.4% 10 3.4% 1
Properties (Pass 1) Microsoft.Common.props 63 <Import Project="$(MSBuildProjectExtensionsPath)$(MSBuildProjectFile).*.props" Condition="'$(ImportP... 9 3% 9 3% 1
Lazy Items (Pass 3.1) Project.csproj 35 <Reference Include="System" /> 7 2.4% 7 2.4% 1
Properties (Pass 1) Microsoft.Common.CurrentVersion.targets 63 21.6% 6 2.1% 1
Properties (Pass 1) Microsoft.NETFramework.CurrentVersion.props 6 2.1% 6 2% 1
Properties (Pass 1) Microsoft.CSharp.CurrentVersion.targets 74 25.2% 6 1.9% 1
Targets (Pass 5) Microsoft.CSharp.CurrentVersion.targets 90 <Target Name="CreateManifestResourceNames" Condition="'@(EmbeddedResource)' != ''" DependsOnTargets=... 10 3.5% 6 1.9% 1
Properties (Pass 1) Project.csproj 141 48.1% 5 1.7% 1
Lazy Items (Pass 3.1) Microsoft.Common.CurrentVersion.targets 356 <FinalDocFile Include="@(DocFileItem-&gt;'$(OutDir)%(Filename)%(Extension)')" /> 4 1.2% 4 1.2% 1
Items (Pass 3) Microsoft.Managed.DesignTime.targets 99 <PropertyPageSchema Include="$(ManagedXamlResourcesDirectory)Compile.xaml;" ><Context>File</Context>... 3 1% 3 1% 1
Targets (Pass 5) Microsoft.CSharp.CurrentVersion.targets 101 <CreateCSharpManifestResourceName ResourceFiles="@(EmbeddedResource)" RootNamespace="$(RootNamespace... 3 1% 3 1% 1
Lazy Items (Pass 3.1) Microsoft.Managed.DesignTime.targets 99 <PropertyPageSchema Include="$(ManagedXamlResourcesDirectory)Compile.xaml;" ><Context>File</Context>... 3 1% 3 1% 1
Properties (Pass 1) Microsoft.Common.props 14 <PropertyGroup ><ImportByWildcardBeforeMicrosoftCommonProps Condition="'$(ImportByWildcardBeforeMicr... 4 1.4% 3 0.9% 1
Properties (Pass 1) Microsoft.QualityTools.Testing.Fakes.targets 3 0.9% 2 0.8% 1
Properties (Pass 1) Microsoft.CodeAnalysis.targets 3 1% 2 0.8% 1
Properties (Pass 1) Microsoft.CSharp.targets 77 26.2% 2 0.7% 1
Properties (Pass 1) Roslyn.Compilers.Extension.VisualStudio.15.0_47b435e0RoslynDev.props 2 0.7% 2 0.6% 1
Properties (Pass 1) Microsoft.NET.Build.Extensions.targets 18 <_TargetFrameworkVersionWithoutV Condition="$(TargetFrameworkVersion.StartsWith('v'))" >$(TargetFram... 2 0.6% 2 0.6% 1
Properties (Pass 1) Microsoft.Common.props 25 8.7% 2 0.6% 1
Targets (Pass 5) Microsoft.CSharp.CurrentVersion.targets 96 <ItemGroup ><_Temporary Remove="@(_Temporary)" /></ItemGroup> 2 0.6% 2 0.6% 1
Properties (Pass 1) Microsoft.Web.IISSupport.targets 2 0.6% 2 0.6% 1
Properties (Pass 1) Microsoft.Common.props 26 Condition="'$(ImportDirectoryBuildProps)' == 'true' and '$(DirectoryBuildPropsPath)' == ''") 1 0.5% 1 0.5% 1
Items (Pass 3) Microsoft.Common.CurrentVersion.targets 356 <FinalDocFile Include="@(DocFileItem-&gt;'$(OutDir)%(Filename)%(Extension)')" /> 1 0.5% 1 0.5% 1
Properties (Pass 1) Microsoft.Common.props 36 <Import Project="$(DirectoryBuildPropsPath)" Condition="'$(ImportDirectoryBuildProps)' == 'true' and... 1 0.5% 1 0.5% 1
Properties (Pass 1) Microsoft.Common.props 15 Condition="'$(ImportByWildcardBeforeMicrosoftCommonProps)' == ''") 1 0.4% 1 0.4% 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment