Skip to content

Conversation

@trylek
Copy link
Member

@trylek trylek commented Apr 20, 2023

Ivan has managed to identify the list of assemblies that cause problems in the dotnet app. I have rerun the perf measurements and, while there does seem to be impact (about 4 msecs increasing the plaintext benchmark startup time from 88 msecs to 92 msecs), we still seem slightly faster than the default R2R publishing (95 msecs) so I believe that excluding these assemblies from the ASP.NET composite image for now is the most expedient way to unblock the build of .NET composite Docker containers.

Thanks

Tomas

/cc @dotnet/crossgen-contrib

Ivan has managed to identify the list of assemblies that cause
problems in the dotnet app. I have rerun the perf measurements and,
while there does seem to be impact (about 4 msecs), we still seem
slightly faster than the default R2R publishing so I believe that
excluding these assemblies from the ASP.NET composite image for
now is the most expedient way to unblock the build of .NET
composite Docker containers.

Thanks

Tomas
@trylek trylek requested review from ivdiazsa, lbussell and wtgodbe April 20, 2023 20:58
@ghost ghost added the area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework label Apr 20, 2023
<ExcludeAssemblies Include="$(TargetDir)\Microsoft.Extensions.Logging.Configuration.dll" />
<ExcludeAssemblies Include="$(TargetDir)\Microsoft.Extensions.Options.dll" />
<ExcludeAssemblies Include="$(TargetDir)\Microsoft.Extensions.Options.ConfigurationExtensions.dll" />
<ExcludeAssemblies Include="$(TargetDir)\Microsoft.Extensions.Primitives.dll" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This list is growing quickly, how temporary do we think this workaround is? It could get hard to maintain

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We certainly hope to get this list removed ASAP, ideally in Preview 5, we just don't have enough time to address all the feedback on the tracking issue

dotnet/runtime#84860

before next Tuesday snap for Preview 4 we believe to be crucial for customer feedback as it corresponds to the Build conference.

@trylek trylek merged commit 8459947 into dotnet:main Apr 20, 2023
@trylek trylek deleted the ExcludeProblematicAssemblies branch April 20, 2023 22:32
@ghost ghost added this to the 8.0-preview4 milestone Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants