Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Perf] [WASM] Regression in dotnet.wasm #55608

Closed
DrewScoggins opened this issue Jul 13, 2021 · 19 comments · Fixed by #55680
Closed

[Perf] [WASM] Regression in dotnet.wasm #55608

DrewScoggins opened this issue Jul 13, 2021 · 19 comments · Fixed by #55680
Labels
area-VM-meta-mono size-reduction Issues impacting final app size primary for size sensitive workloads tenet-performance Performance related issue tenet-performance-benchmarks Issue from performance benchmark
Milestone

Comments

@DrewScoggins
Copy link
Member

Run Information

Architecture x64
OS ubuntu 18.04
Baseline ede3733b1cf5902899e56caf748492ed993c98c8
Compare ce0982256cd83960a97d8745a84e97acc8ebf98d
Diff Diff

Regressions in SOD - Minimum Blazor Template - Publish

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio Baseline ETL Compare ETL
SOD - Minimum Blazor Template - Publish - pub/wwwroot/_framework/dotnet.VERSION.js 389.38 KB 217.06 KB 0.56 0.00 True
SOD - Minimum Blazor Template - Publish - pub/wwwroot/_framework/dotnet.VERSION.js.br 73.78 KB 45.42 KB 0.62 0.00 True
SOD - Minimum Blazor Template - Publish - pub/wwwroot/_framework/Microsoft.JSInterop.dll.br 13.14 KB 13.00 KB 0.99 0.00 True
SOD - Minimum Blazor Template - Publish - pub/wwwroot/_framework/Microsoft.Extensions.Logging.dll.br 6.96 KB 6.87 KB 0.99 0.00 True
SOD - Minimum Blazor Template - Publish - Aggregate - .js 443.13 KB 270.75 KB 0.61 0.00 True
SOD - Minimum Blazor Template - Publish - pub/wwwroot/_framework/dotnet.VERSION.js.gz 88.77 KB 52.29 KB 0.59 0.00 True
SOD - Minimum Blazor Template - Publish - pub/wwwroot/_framework/System.Linq.dll.br 2.87 KB 2.91 KB 1.01 0.00 True
SOD - Minimum Blazor Template - Publish - pub/wwwroot/_framework/System.Memory.dll 16.00 KB 16.50 KB 1.03 0.00 True
SOD - Minimum Blazor Template - Publish - Synthetic Wire Size - .gz 1.41 MB 1.77 MB 1.25 0.00 True
SOD - Minimum Blazor Template - Publish - pub/wwwroot/_framework/dotnet.wasm.br 464.13 KB 779.49 KB 1.68 0.00 True
SOD - Minimum Blazor Template - Publish - pub/wwwroot/_framework/System.Private.Runtime.InteropServices.JavaScript.dll 20.00 KB 20.50 KB 1.02 0.00 True
SOD - Minimum Blazor Template - Publish - SOD - Minimum Blazor Template - Publish 7.53 MB 8.79 MB 1.17 0.00 True
SOD - Minimum Blazor Template - Publish - Synthetic Wire Size - .br 1.20 MB 1.48 MB 1.24 0.00 True
SOD - Minimum Blazor Template - Publish - pub/wwwroot/_framework/System.Private.Runtime.InteropServices.JavaScript.dll.gz 9.56 KB 9.71 KB 1.02 0.00 True
SOD - Minimum Blazor Template - Publish - pub 7.53 MB 8.79 MB 1.17 0.00 True
SOD - Minimum Blazor Template - Publish - Aggregate - .gz 1.61 MB 1.97 MB 1.22 0.00 True
SOD - Minimum Blazor Template - Publish - Aggregate - .wasm 1.39 MB 2.18 MB 1.57 0.00 True
SOD - Minimum Blazor Template - Publish - Total Uncompressed _framework 3.65 MB 4.28 MB 1.17 0.00 True
SOD - Minimum Blazor Template - Publish - pub/wwwroot/_framework/dotnet.wasm.gz 555.60 KB 953.58 KB 1.72 0.00 True
SOD - Minimum Blazor Template - Publish - pub/wwwroot/_framework/dotnet.wasm 1.39 MB 2.18 MB 1.57 0.00 True
SOD - Minimum Blazor Template - Publish - pub/wwwroot/css/app.css.br 1.32 KB 1.33 KB 1.01 0.00 True
SOD - Minimum Blazor Template - Publish - Aggregate - .br 1.34 MB 1.63 MB 1.21 0.00 True

graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
Historical Data in Reporting System

Repro

git clone https://github.com/dotnet/performance.git
python3 .\performance\scripts\benchmarks_ci.py -f netcoreapp5.0 --filter 'SOD - Minimum Blazor Template - Publish*'

Payloads

Baseline
Compare

Histogram

SOD - Minimum Blazor Template - Publish


Docs

Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository

### Run Information
Architecture x64
OS ubuntu 18.04
Baseline ede3733b1cf5902899e56caf748492ed993c98c8
Compare ce0982256cd83960a97d8745a84e97acc8ebf98d
Diff Diff

Regressions in SOD - Pizza App - Publish

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio Baseline ETL Compare ETL
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.ComponentModel.TypeConverter.dll.gz 29.48 KB 28.87 KB 0.98 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Runtime.CompilerServices.Unsafe.dll.br 1.12 KB 1.11 KB 0.99 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/Microsoft.JSInterop.dll.br 13.15 KB 12.98 KB 0.99 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.ComponentModel.TypeConverter.dll 73.00 KB 72.00 KB 0.99 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/Microsoft.AspNetCore.Components.Forms.dll.br 7.16 KB 7.02 KB 0.98 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/Microsoft.AspNetCore.Metadata.dll.br 1.48 KB 1.44 KB 0.98 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.ComponentModel.TypeConverter.dll.br 25.24 KB 24.58 KB 0.97 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/Microsoft.AspNetCore.Components.Forms.dll 18.00 KB 17.50 KB 0.97 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/Microsoft.AspNetCore.Components.Forms.dll.gz 8.17 KB 7.92 KB 0.97 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Private.Runtime.InteropServices.JavaScript.dll.gz 9.70 KB 10.26 KB 1.06 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/dotnet.timezones.blat.gz 71.59 KB 73.76 KB 1.03 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/Microsoft.Extensions.Logging.Abstractions.dll.gz 9.68 KB 10.65 KB 1.10 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Console.dll.gz 6.13 KB 6.20 KB 1.01 0.00 True
SOD - Pizza App - Publish - Aggregate - .dll 2.85 MB 2.88 MB 1.01 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Private.CoreLib.dll.gz 483.48 KB 490.02 KB 1.01 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Console.dll.br 5.37 KB 5.43 KB 1.01 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Text.Json.dll.gz 100.96 KB 104.54 KB 1.04 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Collections.Concurrent.dll.br 7.18 KB 7.26 KB 1.01 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Private.Runtime.InteropServices.JavaScript.dll.br 8.61 KB 8.99 KB 1.04 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Console.dll 12.50 KB 13.00 KB 1.04 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Text.Json.dll.br 86.11 KB 88.66 KB 1.03 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Memory.dll 16.00 KB 16.50 KB 1.03 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Private.CoreLib.dll 1.18 MB 1.20 MB 1.01 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Private.Runtime.InteropServices.JavaScript.dll 20.50 KB 21.50 KB 1.05 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Text.Json.dll 260.00 KB 272.50 KB 1.05 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/Microsoft.Extensions.Logging.Abstractions.dll 22.00 KB 24.50 KB 1.11 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/Microsoft.Extensions.Logging.Abstractions.dll.br 8.50 KB 9.22 KB 1.09 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Private.CoreLib.dll.br 404.14 KB 409.50 KB 1.01 0.00 True

graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
Historical Data in Reporting System

Repro

git clone https://github.com/dotnet/performance.git
python3 .\performance\scripts\benchmarks_ci.py -f netcoreapp5.0 --filter 'SOD - Pizza App - Publish*'

Payloads

Baseline
Compare

Histogram

SOD - Pizza App - Publish


Docs

Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository

Run Information

Architecture x64
OS ubuntu 18.04
Baseline ede3733b1cf5902899e56caf748492ed993c98c8
Compare ce0982256cd83960a97d8745a84e97acc8ebf98d
Diff Diff

Regressions in SOD - New Blazor Template - Publish

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio Baseline ETL Compare ETL
SOD - New Blazor Template - Publish - pub/wwwroot/_framework/Microsoft.JSInterop.dll.br 13.14 KB 13.00 KB 0.99 0.00 True
SOD - New Blazor Template - Publish - pub/wwwroot/_framework/Microsoft.Extensions.Logging.dll.br 6.96 KB 6.87 KB 0.99 0.00 True
SOD - New Blazor Template - Publish - pub/wwwroot/_framework/System.Collections.Concurrent.dll.br 6.69 KB 6.57 KB 0.98 0.00 True
SOD - New Blazor Template - Publish - pub/wwwroot/_framework/System.Private.CoreLib.dll.br 354.42 KB 358.73 KB 1.01 0.00 True
SOD - New Blazor Template - Publish - pub/wwwroot/_framework/dotnet.timezones.blat.gz 71.59 KB 73.76 KB 1.03 0.00 True
SOD - New Blazor Template - Publish - pub/wwwroot/css/app.css.br 1.32 KB 1.33 KB 1.01 0.00 True
SOD - New Blazor Template - Publish - pub/wwwroot/_framework/System.Private.Runtime.InteropServices.JavaScript.dll.gz 9.55 KB 9.71 KB 1.02 0.00 True
SOD - New Blazor Template - Publish - pub/wwwroot/_framework/System.Private.Runtime.InteropServices.JavaScript.dll 20.00 KB 20.50 KB 1.02 0.00 True
SOD - New Blazor Template - Publish - pub/wwwroot/_framework/System.Memory.dll 16.00 KB 16.50 KB 1.03 0.00 True
SOD - New Blazor Template - Publish - pub/wwwroot/_framework/System.Private.CoreLib.dll.gz 423.27 KB 427.86 KB 1.01 0.00 True

graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
Historical Data in Reporting System

Repro

git clone https://github.com/dotnet/performance.git
python3 .\performance\scripts\benchmarks_ci.py -f netcoreapp5.0 --filter 'SOD - New Blazor Template - Publish*'

Payloads

Baseline
Compare

Histogram

SOD - New Blazor Template - Publish


Docs

Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository

@DrewScoggins DrewScoggins added tenet-performance Performance related issue tenet-performance-benchmarks Issue from performance benchmark size-reduction Issues impacting final app size primary for size sensitive workloads labels Jul 13, 2021
@ghost
Copy link

ghost commented Jul 13, 2021

Tagging subscribers to 'size-reduction': @eerhardt, @SamMonoRT, @marek-safar
See info in area-owners.md if you want to be subscribed.

Issue Details

Run Information

Architecture x64
OS ubuntu 18.04
Baseline ede3733b1cf5902899e56caf748492ed993c98c8
Compare ce0982256cd83960a97d8745a84e97acc8ebf98d
Diff Diff

Regressions in SOD - Minimum Blazor Template - Publish

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio Baseline ETL Compare ETL
SOD - Minimum Blazor Template - Publish - pub/wwwroot/_framework/dotnet.VERSION.js 389.38 KB 217.06 KB 0.56 0.00 True
SOD - Minimum Blazor Template - Publish - pub/wwwroot/_framework/dotnet.VERSION.js.br 73.78 KB 45.42 KB 0.62 0.00 True
SOD - Minimum Blazor Template - Publish - pub/wwwroot/_framework/Microsoft.JSInterop.dll.br 13.14 KB 13.00 KB 0.99 0.00 True
SOD - Minimum Blazor Template - Publish - pub/wwwroot/_framework/Microsoft.Extensions.Logging.dll.br 6.96 KB 6.87 KB 0.99 0.00 True
SOD - Minimum Blazor Template - Publish - Aggregate - .js 443.13 KB 270.75 KB 0.61 0.00 True
SOD - Minimum Blazor Template - Publish - pub/wwwroot/_framework/dotnet.VERSION.js.gz 88.77 KB 52.29 KB 0.59 0.00 True
SOD - Minimum Blazor Template - Publish - pub/wwwroot/_framework/System.Linq.dll.br 2.87 KB 2.91 KB 1.01 0.00 True
SOD - Minimum Blazor Template - Publish - pub/wwwroot/_framework/System.Memory.dll 16.00 KB 16.50 KB 1.03 0.00 True
SOD - Minimum Blazor Template - Publish - Synthetic Wire Size - .gz 1.41 MB 1.77 MB 1.25 0.00 True
SOD - Minimum Blazor Template - Publish - pub/wwwroot/_framework/dotnet.wasm.br 464.13 KB 779.49 KB 1.68 0.00 True
SOD - Minimum Blazor Template - Publish - pub/wwwroot/_framework/System.Private.Runtime.InteropServices.JavaScript.dll 20.00 KB 20.50 KB 1.02 0.00 True
SOD - Minimum Blazor Template - Publish - SOD - Minimum Blazor Template - Publish 7.53 MB 8.79 MB 1.17 0.00 True
SOD - Minimum Blazor Template - Publish - Synthetic Wire Size - .br 1.20 MB 1.48 MB 1.24 0.00 True
SOD - Minimum Blazor Template - Publish - pub/wwwroot/_framework/System.Private.Runtime.InteropServices.JavaScript.dll.gz 9.56 KB 9.71 KB 1.02 0.00 True
SOD - Minimum Blazor Template - Publish - pub 7.53 MB 8.79 MB 1.17 0.00 True
SOD - Minimum Blazor Template - Publish - Aggregate - .gz 1.61 MB 1.97 MB 1.22 0.00 True
SOD - Minimum Blazor Template - Publish - Aggregate - .wasm 1.39 MB 2.18 MB 1.57 0.00 True
SOD - Minimum Blazor Template - Publish - Total Uncompressed _framework 3.65 MB 4.28 MB 1.17 0.00 True
SOD - Minimum Blazor Template - Publish - pub/wwwroot/_framework/dotnet.wasm.gz 555.60 KB 953.58 KB 1.72 0.00 True
SOD - Minimum Blazor Template - Publish - pub/wwwroot/_framework/dotnet.wasm 1.39 MB 2.18 MB 1.57 0.00 True
SOD - Minimum Blazor Template - Publish - pub/wwwroot/css/app.css.br 1.32 KB 1.33 KB 1.01 0.00 True
SOD - Minimum Blazor Template - Publish - Aggregate - .br 1.34 MB 1.63 MB 1.21 0.00 True

graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
Historical Data in Reporting System

Repro

git clone https://github.com/dotnet/performance.git
python3 .\performance\scripts\benchmarks_ci.py -f netcoreapp5.0 --filter 'SOD - Minimum Blazor Template - Publish*'

Payloads

Baseline
Compare

Histogram

SOD - Minimum Blazor Template - Publish


Docs

Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository

### Run Information
Architecture x64
OS ubuntu 18.04
Baseline ede3733b1cf5902899e56caf748492ed993c98c8
Compare ce0982256cd83960a97d8745a84e97acc8ebf98d
Diff Diff

Regressions in SOD - Pizza App - Publish

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio Baseline ETL Compare ETL
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.ComponentModel.TypeConverter.dll.gz 29.48 KB 28.87 KB 0.98 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Runtime.CompilerServices.Unsafe.dll.br 1.12 KB 1.11 KB 0.99 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/Microsoft.JSInterop.dll.br 13.15 KB 12.98 KB 0.99 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.ComponentModel.TypeConverter.dll 73.00 KB 72.00 KB 0.99 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/Microsoft.AspNetCore.Components.Forms.dll.br 7.16 KB 7.02 KB 0.98 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/Microsoft.AspNetCore.Metadata.dll.br 1.48 KB 1.44 KB 0.98 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.ComponentModel.TypeConverter.dll.br 25.24 KB 24.58 KB 0.97 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/Microsoft.AspNetCore.Components.Forms.dll 18.00 KB 17.50 KB 0.97 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/Microsoft.AspNetCore.Components.Forms.dll.gz 8.17 KB 7.92 KB 0.97 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Private.Runtime.InteropServices.JavaScript.dll.gz 9.70 KB 10.26 KB 1.06 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/dotnet.timezones.blat.gz 71.59 KB 73.76 KB 1.03 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/Microsoft.Extensions.Logging.Abstractions.dll.gz 9.68 KB 10.65 KB 1.10 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Console.dll.gz 6.13 KB 6.20 KB 1.01 0.00 True
SOD - Pizza App - Publish - Aggregate - .dll 2.85 MB 2.88 MB 1.01 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Private.CoreLib.dll.gz 483.48 KB 490.02 KB 1.01 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Console.dll.br 5.37 KB 5.43 KB 1.01 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Text.Json.dll.gz 100.96 KB 104.54 KB 1.04 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Collections.Concurrent.dll.br 7.18 KB 7.26 KB 1.01 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Private.Runtime.InteropServices.JavaScript.dll.br 8.61 KB 8.99 KB 1.04 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Console.dll 12.50 KB 13.00 KB 1.04 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Text.Json.dll.br 86.11 KB 88.66 KB 1.03 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Memory.dll 16.00 KB 16.50 KB 1.03 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Private.CoreLib.dll 1.18 MB 1.20 MB 1.01 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Private.Runtime.InteropServices.JavaScript.dll 20.50 KB 21.50 KB 1.05 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Text.Json.dll 260.00 KB 272.50 KB 1.05 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/Microsoft.Extensions.Logging.Abstractions.dll 22.00 KB 24.50 KB 1.11 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/Microsoft.Extensions.Logging.Abstractions.dll.br 8.50 KB 9.22 KB 1.09 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Private.CoreLib.dll.br 404.14 KB 409.50 KB 1.01 0.00 True

graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
Historical Data in Reporting System

Repro

git clone https://github.com/dotnet/performance.git
python3 .\performance\scripts\benchmarks_ci.py -f netcoreapp5.0 --filter 'SOD - Pizza App - Publish*'

Payloads

Baseline
Compare

Histogram

SOD - Pizza App - Publish


Docs

Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository

Run Information

Architecture x64
OS ubuntu 18.04
Baseline ede3733b1cf5902899e56caf748492ed993c98c8
Compare ce0982256cd83960a97d8745a84e97acc8ebf98d
Diff Diff

Regressions in SOD - New Blazor Template - Publish

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio Baseline ETL Compare ETL
SOD - New Blazor Template - Publish - pub/wwwroot/_framework/Microsoft.JSInterop.dll.br 13.14 KB 13.00 KB 0.99 0.00 True
SOD - New Blazor Template - Publish - pub/wwwroot/_framework/Microsoft.Extensions.Logging.dll.br 6.96 KB 6.87 KB 0.99 0.00 True
SOD - New Blazor Template - Publish - pub/wwwroot/_framework/System.Collections.Concurrent.dll.br 6.69 KB 6.57 KB 0.98 0.00 True
SOD - New Blazor Template - Publish - pub/wwwroot/_framework/System.Private.CoreLib.dll.br 354.42 KB 358.73 KB 1.01 0.00 True
SOD - New Blazor Template - Publish - pub/wwwroot/_framework/dotnet.timezones.blat.gz 71.59 KB 73.76 KB 1.03 0.00 True
SOD - New Blazor Template - Publish - pub/wwwroot/css/app.css.br 1.32 KB 1.33 KB 1.01 0.00 True
SOD - New Blazor Template - Publish - pub/wwwroot/_framework/System.Private.Runtime.InteropServices.JavaScript.dll.gz 9.55 KB 9.71 KB 1.02 0.00 True
SOD - New Blazor Template - Publish - pub/wwwroot/_framework/System.Private.Runtime.InteropServices.JavaScript.dll 20.00 KB 20.50 KB 1.02 0.00 True
SOD - New Blazor Template - Publish - pub/wwwroot/_framework/System.Memory.dll 16.00 KB 16.50 KB 1.03 0.00 True
SOD - New Blazor Template - Publish - pub/wwwroot/_framework/System.Private.CoreLib.dll.gz 423.27 KB 427.86 KB 1.01 0.00 True

graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
Historical Data in Reporting System

Repro

git clone https://github.com/dotnet/performance.git
python3 .\performance\scripts\benchmarks_ci.py -f netcoreapp5.0 --filter 'SOD - New Blazor Template - Publish*'

Payloads

Baseline
Compare

Histogram

SOD - New Blazor Template - Publish


Docs

Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository

Author: DrewScoggins
Assignees: -
Labels:

size-reduction, tenet-performance, tenet-performance-benchmarks

Milestone: -

@dotnet-issue-labeler dotnet-issue-labeler bot added area-Diagnostics-coreclr untriaged New issue has not been triaged by the area owner labels Jul 13, 2021
@eerhardt
Copy link
Member

@DrewScoggins - there are 146 commits in the Diff at the top of this issue. Any way we can narrow them down?

@eerhardt
Copy link
Member

The 5% regression in System.Text.Json in the PizzaApp, it appears to maybe be caused by dotnet/linker#2125.

Looking at a diff of System.Text.Json before and after I'm seeing:

image

Note, the PizzaApp does use System.Linq.Expressions. Looking at ILSpy, I see it being used by the AddressEditor:

image

cc @sbomer @vitek-karas - FYI

@eerhardt
Copy link
Member

The even worse regression here is:

SOD - Minimum Blazor Template - Publish - pub/wwwroot/_framework/dotnet.wasm.br 464.13 KB 779.49 KB 1.68 0.00 True  


@SamMonoRT @lewing - did something break here that we lost all the re-linking work for the "Minimum" app (i.e. Invariant Globalization mode)?

@lewing
Copy link
Member

lewing commented Jul 13, 2021

@eerhardt right now all the components are being linked in unconditionally (hot-reload and the debugger) fix coming soon.

@SamMonoRT SamMonoRT added this to the 6.0.0 milestone Jul 13, 2021
@SamMonoRT SamMonoRT removed the untriaged New issue has not been triaged by the area owner label Jul 13, 2021
@lewing
Copy link
Member

lewing commented Jul 14, 2021

#54565

@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Jul 14, 2021
@ghost
Copy link

ghost commented Jul 15, 2021

Tagging subscribers to this area: @thaystg
See info in area-owners.md if you want to be subscribed.

Issue Details

Run Information

Architecture x64
OS ubuntu 18.04
Baseline ede3733b1cf5902899e56caf748492ed993c98c8
Compare ce0982256cd83960a97d8745a84e97acc8ebf98d
Diff Diff

Regressions in SOD - Minimum Blazor Template - Publish

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio Baseline ETL Compare ETL
SOD - Minimum Blazor Template - Publish - pub/wwwroot/_framework/dotnet.VERSION.js 389.38 KB 217.06 KB 0.56 0.00 True
SOD - Minimum Blazor Template - Publish - pub/wwwroot/_framework/dotnet.VERSION.js.br 73.78 KB 45.42 KB 0.62 0.00 True
SOD - Minimum Blazor Template - Publish - pub/wwwroot/_framework/Microsoft.JSInterop.dll.br 13.14 KB 13.00 KB 0.99 0.00 True
SOD - Minimum Blazor Template - Publish - pub/wwwroot/_framework/Microsoft.Extensions.Logging.dll.br 6.96 KB 6.87 KB 0.99 0.00 True
SOD - Minimum Blazor Template - Publish - Aggregate - .js 443.13 KB 270.75 KB 0.61 0.00 True
SOD - Minimum Blazor Template - Publish - pub/wwwroot/_framework/dotnet.VERSION.js.gz 88.77 KB 52.29 KB 0.59 0.00 True
SOD - Minimum Blazor Template - Publish - pub/wwwroot/_framework/System.Linq.dll.br 2.87 KB 2.91 KB 1.01 0.00 True
SOD - Minimum Blazor Template - Publish - pub/wwwroot/_framework/System.Memory.dll 16.00 KB 16.50 KB 1.03 0.00 True
SOD - Minimum Blazor Template - Publish - Synthetic Wire Size - .gz 1.41 MB 1.77 MB 1.25 0.00 True
SOD - Minimum Blazor Template - Publish - pub/wwwroot/_framework/dotnet.wasm.br 464.13 KB 779.49 KB 1.68 0.00 True
SOD - Minimum Blazor Template - Publish - pub/wwwroot/_framework/System.Private.Runtime.InteropServices.JavaScript.dll 20.00 KB 20.50 KB 1.02 0.00 True
SOD - Minimum Blazor Template - Publish - SOD - Minimum Blazor Template - Publish 7.53 MB 8.79 MB 1.17 0.00 True
SOD - Minimum Blazor Template - Publish - Synthetic Wire Size - .br 1.20 MB 1.48 MB 1.24 0.00 True
SOD - Minimum Blazor Template - Publish - pub/wwwroot/_framework/System.Private.Runtime.InteropServices.JavaScript.dll.gz 9.56 KB 9.71 KB 1.02 0.00 True
SOD - Minimum Blazor Template - Publish - pub 7.53 MB 8.79 MB 1.17 0.00 True
SOD - Minimum Blazor Template - Publish - Aggregate - .gz 1.61 MB 1.97 MB 1.22 0.00 True
SOD - Minimum Blazor Template - Publish - Aggregate - .wasm 1.39 MB 2.18 MB 1.57 0.00 True
SOD - Minimum Blazor Template - Publish - Total Uncompressed _framework 3.65 MB 4.28 MB 1.17 0.00 True
SOD - Minimum Blazor Template - Publish - pub/wwwroot/_framework/dotnet.wasm.gz 555.60 KB 953.58 KB 1.72 0.00 True
SOD - Minimum Blazor Template - Publish - pub/wwwroot/_framework/dotnet.wasm 1.39 MB 2.18 MB 1.57 0.00 True
SOD - Minimum Blazor Template - Publish - pub/wwwroot/css/app.css.br 1.32 KB 1.33 KB 1.01 0.00 True
SOD - Minimum Blazor Template - Publish - Aggregate - .br 1.34 MB 1.63 MB 1.21 0.00 True

graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
Historical Data in Reporting System

Repro

git clone https://github.com/dotnet/performance.git
python3 .\performance\scripts\benchmarks_ci.py -f netcoreapp5.0 --filter 'SOD - Minimum Blazor Template - Publish*'

Payloads

Baseline
Compare

Histogram

SOD - Minimum Blazor Template - Publish


Docs

Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository

### Run Information
Architecture x64
OS ubuntu 18.04
Baseline ede3733b1cf5902899e56caf748492ed993c98c8
Compare ce0982256cd83960a97d8745a84e97acc8ebf98d
Diff Diff

Regressions in SOD - Pizza App - Publish

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio Baseline ETL Compare ETL
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.ComponentModel.TypeConverter.dll.gz 29.48 KB 28.87 KB 0.98 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Runtime.CompilerServices.Unsafe.dll.br 1.12 KB 1.11 KB 0.99 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/Microsoft.JSInterop.dll.br 13.15 KB 12.98 KB 0.99 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.ComponentModel.TypeConverter.dll 73.00 KB 72.00 KB 0.99 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/Microsoft.AspNetCore.Components.Forms.dll.br 7.16 KB 7.02 KB 0.98 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/Microsoft.AspNetCore.Metadata.dll.br 1.48 KB 1.44 KB 0.98 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.ComponentModel.TypeConverter.dll.br 25.24 KB 24.58 KB 0.97 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/Microsoft.AspNetCore.Components.Forms.dll 18.00 KB 17.50 KB 0.97 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/Microsoft.AspNetCore.Components.Forms.dll.gz 8.17 KB 7.92 KB 0.97 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Private.Runtime.InteropServices.JavaScript.dll.gz 9.70 KB 10.26 KB 1.06 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/dotnet.timezones.blat.gz 71.59 KB 73.76 KB 1.03 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/Microsoft.Extensions.Logging.Abstractions.dll.gz 9.68 KB 10.65 KB 1.10 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Console.dll.gz 6.13 KB 6.20 KB 1.01 0.00 True
SOD - Pizza App - Publish - Aggregate - .dll 2.85 MB 2.88 MB 1.01 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Private.CoreLib.dll.gz 483.48 KB 490.02 KB 1.01 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Console.dll.br 5.37 KB 5.43 KB 1.01 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Text.Json.dll.gz 100.96 KB 104.54 KB 1.04 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Collections.Concurrent.dll.br 7.18 KB 7.26 KB 1.01 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Private.Runtime.InteropServices.JavaScript.dll.br 8.61 KB 8.99 KB 1.04 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Console.dll 12.50 KB 13.00 KB 1.04 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Text.Json.dll.br 86.11 KB 88.66 KB 1.03 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Memory.dll 16.00 KB 16.50 KB 1.03 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Private.CoreLib.dll 1.18 MB 1.20 MB 1.01 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Private.Runtime.InteropServices.JavaScript.dll 20.50 KB 21.50 KB 1.05 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Text.Json.dll 260.00 KB 272.50 KB 1.05 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/Microsoft.Extensions.Logging.Abstractions.dll 22.00 KB 24.50 KB 1.11 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/Microsoft.Extensions.Logging.Abstractions.dll.br 8.50 KB 9.22 KB 1.09 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Private.CoreLib.dll.br 404.14 KB 409.50 KB 1.01 0.00 True

graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
Historical Data in Reporting System

Repro

git clone https://github.com/dotnet/performance.git
python3 .\performance\scripts\benchmarks_ci.py -f netcoreapp5.0 --filter 'SOD - Pizza App - Publish*'

Payloads

Baseline
Compare

Histogram

SOD - Pizza App - Publish


Docs

Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository

Run Information

Architecture x64
OS ubuntu 18.04
Baseline ede3733b1cf5902899e56caf748492ed993c98c8
Compare ce0982256cd83960a97d8745a84e97acc8ebf98d
Diff Diff

Regressions in SOD - New Blazor Template - Publish

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio Baseline ETL Compare ETL
SOD - New Blazor Template - Publish - pub/wwwroot/_framework/Microsoft.JSInterop.dll.br 13.14 KB 13.00 KB 0.99 0.00 True
SOD - New Blazor Template - Publish - pub/wwwroot/_framework/Microsoft.Extensions.Logging.dll.br 6.96 KB 6.87 KB 0.99 0.00 True
SOD - New Blazor Template - Publish - pub/wwwroot/_framework/System.Collections.Concurrent.dll.br 6.69 KB 6.57 KB 0.98 0.00 True
SOD - New Blazor Template - Publish - pub/wwwroot/_framework/System.Private.CoreLib.dll.br 354.42 KB 358.73 KB 1.01 0.00 True
SOD - New Blazor Template - Publish - pub/wwwroot/_framework/dotnet.timezones.blat.gz 71.59 KB 73.76 KB 1.03 0.00 True
SOD - New Blazor Template - Publish - pub/wwwroot/css/app.css.br 1.32 KB 1.33 KB 1.01 0.00 True
SOD - New Blazor Template - Publish - pub/wwwroot/_framework/System.Private.Runtime.InteropServices.JavaScript.dll.gz 9.55 KB 9.71 KB 1.02 0.00 True
SOD - New Blazor Template - Publish - pub/wwwroot/_framework/System.Private.Runtime.InteropServices.JavaScript.dll 20.00 KB 20.50 KB 1.02 0.00 True
SOD - New Blazor Template - Publish - pub/wwwroot/_framework/System.Memory.dll 16.00 KB 16.50 KB 1.03 0.00 True
SOD - New Blazor Template - Publish - pub/wwwroot/_framework/System.Private.CoreLib.dll.gz 423.27 KB 427.86 KB 1.01 0.00 True

graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
Historical Data in Reporting System

Repro

git clone https://github.com/dotnet/performance.git
python3 .\performance\scripts\benchmarks_ci.py -f netcoreapp5.0 --filter 'SOD - New Blazor Template - Publish*'

Payloads

Baseline
Compare

Histogram

SOD - New Blazor Template - Publish


Docs

Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository

Author: DrewScoggins
Assignees: -
Labels:

area-Debugger-mono, area-Diagnostics-coreclr, in pr, size-reduction, tenet-performance, tenet-performance-benchmarks

Milestone: 6.0.0

@ghost
Copy link

ghost commented Jul 15, 2021

Tagging subscribers to this area:
See info in area-owners.md if you want to be subscribed.

Issue Details

Run Information

Architecture x64
OS ubuntu 18.04
Baseline ede3733b1cf5902899e56caf748492ed993c98c8
Compare ce0982256cd83960a97d8745a84e97acc8ebf98d
Diff Diff

Regressions in SOD - Minimum Blazor Template - Publish

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio Baseline ETL Compare ETL
SOD - Minimum Blazor Template - Publish - pub/wwwroot/_framework/dotnet.VERSION.js 389.38 KB 217.06 KB 0.56 0.00 True
SOD - Minimum Blazor Template - Publish - pub/wwwroot/_framework/dotnet.VERSION.js.br 73.78 KB 45.42 KB 0.62 0.00 True
SOD - Minimum Blazor Template - Publish - pub/wwwroot/_framework/Microsoft.JSInterop.dll.br 13.14 KB 13.00 KB 0.99 0.00 True
SOD - Minimum Blazor Template - Publish - pub/wwwroot/_framework/Microsoft.Extensions.Logging.dll.br 6.96 KB 6.87 KB 0.99 0.00 True
SOD - Minimum Blazor Template - Publish - Aggregate - .js 443.13 KB 270.75 KB 0.61 0.00 True
SOD - Minimum Blazor Template - Publish - pub/wwwroot/_framework/dotnet.VERSION.js.gz 88.77 KB 52.29 KB 0.59 0.00 True
SOD - Minimum Blazor Template - Publish - pub/wwwroot/_framework/System.Linq.dll.br 2.87 KB 2.91 KB 1.01 0.00 True
SOD - Minimum Blazor Template - Publish - pub/wwwroot/_framework/System.Memory.dll 16.00 KB 16.50 KB 1.03 0.00 True
SOD - Minimum Blazor Template - Publish - Synthetic Wire Size - .gz 1.41 MB 1.77 MB 1.25 0.00 True
SOD - Minimum Blazor Template - Publish - pub/wwwroot/_framework/dotnet.wasm.br 464.13 KB 779.49 KB 1.68 0.00 True
SOD - Minimum Blazor Template - Publish - pub/wwwroot/_framework/System.Private.Runtime.InteropServices.JavaScript.dll 20.00 KB 20.50 KB 1.02 0.00 True
SOD - Minimum Blazor Template - Publish - SOD - Minimum Blazor Template - Publish 7.53 MB 8.79 MB 1.17 0.00 True
SOD - Minimum Blazor Template - Publish - Synthetic Wire Size - .br 1.20 MB 1.48 MB 1.24 0.00 True
SOD - Minimum Blazor Template - Publish - pub/wwwroot/_framework/System.Private.Runtime.InteropServices.JavaScript.dll.gz 9.56 KB 9.71 KB 1.02 0.00 True
SOD - Minimum Blazor Template - Publish - pub 7.53 MB 8.79 MB 1.17 0.00 True
SOD - Minimum Blazor Template - Publish - Aggregate - .gz 1.61 MB 1.97 MB 1.22 0.00 True
SOD - Minimum Blazor Template - Publish - Aggregate - .wasm 1.39 MB 2.18 MB 1.57 0.00 True
SOD - Minimum Blazor Template - Publish - Total Uncompressed _framework 3.65 MB 4.28 MB 1.17 0.00 True
SOD - Minimum Blazor Template - Publish - pub/wwwroot/_framework/dotnet.wasm.gz 555.60 KB 953.58 KB 1.72 0.00 True
SOD - Minimum Blazor Template - Publish - pub/wwwroot/_framework/dotnet.wasm 1.39 MB 2.18 MB 1.57 0.00 True
SOD - Minimum Blazor Template - Publish - pub/wwwroot/css/app.css.br 1.32 KB 1.33 KB 1.01 0.00 True
SOD - Minimum Blazor Template - Publish - Aggregate - .br 1.34 MB 1.63 MB 1.21 0.00 True

graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
Historical Data in Reporting System

Repro

git clone https://github.com/dotnet/performance.git
python3 .\performance\scripts\benchmarks_ci.py -f netcoreapp5.0 --filter 'SOD - Minimum Blazor Template - Publish*'

Payloads

Baseline
Compare

Histogram

SOD - Minimum Blazor Template - Publish


Docs

Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository

### Run Information
Architecture x64
OS ubuntu 18.04
Baseline ede3733b1cf5902899e56caf748492ed993c98c8
Compare ce0982256cd83960a97d8745a84e97acc8ebf98d
Diff Diff

Regressions in SOD - Pizza App - Publish

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio Baseline ETL Compare ETL
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.ComponentModel.TypeConverter.dll.gz 29.48 KB 28.87 KB 0.98 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Runtime.CompilerServices.Unsafe.dll.br 1.12 KB 1.11 KB 0.99 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/Microsoft.JSInterop.dll.br 13.15 KB 12.98 KB 0.99 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.ComponentModel.TypeConverter.dll 73.00 KB 72.00 KB 0.99 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/Microsoft.AspNetCore.Components.Forms.dll.br 7.16 KB 7.02 KB 0.98 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/Microsoft.AspNetCore.Metadata.dll.br 1.48 KB 1.44 KB 0.98 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.ComponentModel.TypeConverter.dll.br 25.24 KB 24.58 KB 0.97 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/Microsoft.AspNetCore.Components.Forms.dll 18.00 KB 17.50 KB 0.97 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/Microsoft.AspNetCore.Components.Forms.dll.gz 8.17 KB 7.92 KB 0.97 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Private.Runtime.InteropServices.JavaScript.dll.gz 9.70 KB 10.26 KB 1.06 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/dotnet.timezones.blat.gz 71.59 KB 73.76 KB 1.03 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/Microsoft.Extensions.Logging.Abstractions.dll.gz 9.68 KB 10.65 KB 1.10 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Console.dll.gz 6.13 KB 6.20 KB 1.01 0.00 True
SOD - Pizza App - Publish - Aggregate - .dll 2.85 MB 2.88 MB 1.01 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Private.CoreLib.dll.gz 483.48 KB 490.02 KB 1.01 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Console.dll.br 5.37 KB 5.43 KB 1.01 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Text.Json.dll.gz 100.96 KB 104.54 KB 1.04 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Collections.Concurrent.dll.br 7.18 KB 7.26 KB 1.01 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Private.Runtime.InteropServices.JavaScript.dll.br 8.61 KB 8.99 KB 1.04 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Console.dll 12.50 KB 13.00 KB 1.04 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Text.Json.dll.br 86.11 KB 88.66 KB 1.03 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Memory.dll 16.00 KB 16.50 KB 1.03 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Private.CoreLib.dll 1.18 MB 1.20 MB 1.01 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Private.Runtime.InteropServices.JavaScript.dll 20.50 KB 21.50 KB 1.05 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Text.Json.dll 260.00 KB 272.50 KB 1.05 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/Microsoft.Extensions.Logging.Abstractions.dll 22.00 KB 24.50 KB 1.11 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/Microsoft.Extensions.Logging.Abstractions.dll.br 8.50 KB 9.22 KB 1.09 0.00 True
SOD - Pizza App - Publish - pub/wwwroot/_framework/System.Private.CoreLib.dll.br 404.14 KB 409.50 KB 1.01 0.00 True

graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
Historical Data in Reporting System

Repro

git clone https://github.com/dotnet/performance.git
python3 .\performance\scripts\benchmarks_ci.py -f netcoreapp5.0 --filter 'SOD - Pizza App - Publish*'

Payloads

Baseline
Compare

Histogram

SOD - Pizza App - Publish


Docs

Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository

Run Information

Architecture x64
OS ubuntu 18.04
Baseline ede3733b1cf5902899e56caf748492ed993c98c8
Compare ce0982256cd83960a97d8745a84e97acc8ebf98d
Diff Diff

Regressions in SOD - New Blazor Template - Publish

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio Baseline ETL Compare ETL
SOD - New Blazor Template - Publish - pub/wwwroot/_framework/Microsoft.JSInterop.dll.br 13.14 KB 13.00 KB 0.99 0.00 True
SOD - New Blazor Template - Publish - pub/wwwroot/_framework/Microsoft.Extensions.Logging.dll.br 6.96 KB 6.87 KB 0.99 0.00 True
SOD - New Blazor Template - Publish - pub/wwwroot/_framework/System.Collections.Concurrent.dll.br 6.69 KB 6.57 KB 0.98 0.00 True
SOD - New Blazor Template - Publish - pub/wwwroot/_framework/System.Private.CoreLib.dll.br 354.42 KB 358.73 KB 1.01 0.00 True
SOD - New Blazor Template - Publish - pub/wwwroot/_framework/dotnet.timezones.blat.gz 71.59 KB 73.76 KB 1.03 0.00 True
SOD - New Blazor Template - Publish - pub/wwwroot/css/app.css.br 1.32 KB 1.33 KB 1.01 0.00 True
SOD - New Blazor Template - Publish - pub/wwwroot/_framework/System.Private.Runtime.InteropServices.JavaScript.dll.gz 9.55 KB 9.71 KB 1.02 0.00 True
SOD - New Blazor Template - Publish - pub/wwwroot/_framework/System.Private.Runtime.InteropServices.JavaScript.dll 20.00 KB 20.50 KB 1.02 0.00 True
SOD - New Blazor Template - Publish - pub/wwwroot/_framework/System.Memory.dll 16.00 KB 16.50 KB 1.03 0.00 True
SOD - New Blazor Template - Publish - pub/wwwroot/_framework/System.Private.CoreLib.dll.gz 423.27 KB 427.86 KB 1.01 0.00 True

graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
Historical Data in Reporting System

Repro

git clone https://github.com/dotnet/performance.git
python3 .\performance\scripts\benchmarks_ci.py -f netcoreapp5.0 --filter 'SOD - New Blazor Template - Publish*'

Payloads

Baseline
Compare

Histogram

SOD - New Blazor Template - Publish


Docs

Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository

Author: DrewScoggins
Assignees: -
Labels:

area-VM-meta-mono, in pr, size-reduction, tenet-performance, tenet-performance-benchmarks

Milestone: 6.0.0

@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Jul 15, 2021
@SamMonoRT
Copy link
Member

System.Text.Json in the PizzaApp

@eerhardt - Larry's PR change closed this issue which covered both STJ and dotnet.wasm regressions. Are we tracking this STJ regression outside of this issue.

@lewing lewing reopened this Jul 19, 2021
@lewing
Copy link
Member

lewing commented Jul 19, 2021

The components are being correctly linked out and the runtime is being relinked but it looks like something is retaining icu in invariantmode now.

@eerhardt
Copy link
Member

The 5% regression in System.Text.Json in the PizzaApp, it appears to maybe be caused by dotnet/linker#2125.

I believe that STJ regression is expected, given that the PizzaApp is using System.Linq.Expressions. That was the tradeoff we made in dotnet/linker#2125 to make System.Linq.Expressions safe to use in a trimmed app.

@lewing
Copy link
Member

lewing commented Jul 19, 2021

Found the runtime issue, fix incoming. You will like the result.

@SamMonoRT
Copy link
Member

@radical - didn't see any decrease in size for dotnet.wasm in the runs with the change. Please take a look. @DrewScoggins is your main contact for dashboard questions. This is the size regression in the minimal wasm app.

@radical
Copy link
Member

radical commented Jul 20, 2021

Are these projects built with Debug config? Larry's PR (#55939) affects Release builds. In Release config, we use native relinking is enabled.

This is for a template blazorwasm project with InvariantGlobalization=true:

Debug: 799362 bin/Debug/net6.0/publish/wwwroot/_framework/dotnet.wasm.br
Release: 351995 bin/Release/net6.0/publish/wwwroot/_framework/dotnet.wasm.br

@SamMonoRT
Copy link
Member

@radical @DrewScoggins - Looking at https://github.com/dotnet/performance/blob/da8322773787ba87b2305899095fc587d5668929/src/scenarios/blazorminapp/pre.py seems like InvariantGlobalization is set to true correctly for the min app.
What is interesting is searching for the workload name, I see https://github.com/dotnet/performance/search?q=microsoft-net-sdk-blazorwebassembly-aot - should that be updated to the new name wasm-tools ? (#55413)

@radical
Copy link
Member

radical commented Jul 20, 2021

should that be updated to the new name wasm-tools

Yeah, that makes sense.

@SamMonoRT
Copy link
Member

Drew's PR to udpate workload name should hopefully fix the dotnet.wasm.br regression

@SamMonoRT
Copy link
Member

@radical @lewing - From @DrewScoggins :: We are at 1.11MB with the updated workload name. We don't have the breakdown of file size as of now. I assume the PowerBI won't be updated till the actual fix is merged.

[1:37 AM] Drew Scoggins
[2021/07/21 22:35:22][INFO] Metric |Average |Min |Max[2021/07/21 22:35:22][INFO] ------------------------------------------------------------------------------------|------------------|------------------|------------------[2021/07/21 22:35:22][INFO] MinApp |6609478.000 bytes |6609478.000 bytes |6609478.000 bytes[2021/07/21 22:35:22][INFO] Total Uncompressed _framework |3194462.000 bytes |3194462.000 bytes |3194462.000 bytes[2021/07/21 22:35:22][INFO] Total Uncompressed _framework - Count |34.000 count |34.000 count |34.000 count[2021/07/21 22:35:22][INFO] Synthetic Wire Size - .br |1111486.000 bytes |1111486.000 bytes |1111486.000 bytes[2021/07/21 22:35:22][INFO] Synthetic Wire Size - .br - Count |34.000 count |34.000 count |34.000 count[2021/07/21 22:35:22][INFO] Synthetic Wire Size - .gz |1339530.000 bytes |1339530.000 bytes |1339530.000 bytes[2021/07/21 22:35:22][INFO] Synthetic Wire Size - .gz - Count |35.000 count |35.000 count |35.000 count[2021/07/21 22:35:22][INFO] MinApp - Count |121.000 count |121.000 count |121.000 count

[1:37 AM] Drew Scoggins
This is the take away line

[1:38 AM] Drew Scoggins
Synthetic Wire Size - .br |1111486.000 bytes |1111486.000 bytes |1111486.000 bytes

[1:38 AM] Drew Scoggins
Somehow the package that we are building does not have some parts that are needed. So i rigged together a local run with the parts we needed to get that number

[1:39 AM] Drew Scoggins
I will make a permanent fix when I get back from vacation.

@SamMonoRT
Copy link
Member

We can close this issue, as the core regression is addressed.

@ghost ghost locked as resolved and limited conversation to collaborators Aug 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-VM-meta-mono size-reduction Issues impacting final app size primary for size sensitive workloads tenet-performance Performance related issue tenet-performance-benchmarks Issue from performance benchmark
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants