Open
Description
With SDK builds taken between 4/8 and 4/10 we noticed a regression in startup time for applications published as single files.
Environment:
- This was reproduced only on Windows (Linux is not affected) and can still be consistently. Same machine, Windows Defender disabled on the folder starting the app. Same parent folder between runs, though any AV should happen the same way on both builds.
- Not specific to a single app
- Here showing ASP.NET application without DI or middleware (Platform benchmark)
SDK versions:
10.0.100-preview.4.25207.27
10.0.100-preview.4.25209.44
black: single file
blue: trimmed
yellow: aot
pink: self-contained
I have the executables built for the two SDKs. Contact me on Teams if you want them.
Crank command lines for reference:
crank --config https://raw.githubusercontent.com/aspnet/Benchmarks/main/scenarios/platform.benchmarks.yml --scenario json --profile aspnet-citrine-win --application.buildArguments "/p:PublishReadyToRun=true /p:PublishSingleFile=true" --application.framework net10.0 --application.options.collectCounters true --load.options.reuseBuild true --application.aspNetCoreVersion 10.0.0-preview.4.25181.4 --application.runtimeVersion 10.0.0-preview.4.25174.9 --application.sdkVersion 10.0.100-preview.4.25207.27 --profile short --application.options.fetch true
crank --config https://raw.githubusercontent.com/aspnet/Benchmarks/main/scenarios/platform.benchmarks.yml --scenario json --profile aspnet-citrine-win --application.buildArguments "/p:PublishReadyToRun=true /p:PublishSingleFile=true" --application.framework net10.0 --application.options.collectCounters true --load.options.reuseBuild true --application.aspNetCoreVersion 10.0.0-preview.4.25208.1 --application.runtimeVersion 10.0.0-preview.4.25209.9 --application.sdkVersion 10.0.100-preview.4.25209.44 --profile short --application.options.fetch true
Metadata
Metadata
Assignees
Type
Projects
Status
No status