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

[wasm/wasi] Fix size regression #95992

Merged
merged 2 commits into from
Dec 14, 2023
Merged

Conversation

radical
Copy link
Member

@radical radical commented Dec 14, 2023

Blazor size regression was fixed by:

commit ec31705ba2dcde3a7b464ae66741f524282076a9
Author: Ankit Jain <[email protected]>
Date:   Wed Dec 6 05:36:59 2023 -0500

    [wasm] Fix regressed file sizes for blazor (#92664)

.. but a subsequent PR created close to that undid some of the changes:

commit a128c1503a5ed423501cf35bcb051b814936027c
Author: Ankit Jain <[email protected]>
Date:   Mon Dec 11 15:45:58 2023 -0500

    [wasm/wasi] Consolidate build targets (#95775)

Essentially, -g was being passed to the link, and compile-bc steps.

Blazor Release/AOT

Before consolidate main With fixes (this PR)
wwwroot size 57432 58968 57464

Found in dotnet/perf-autofiling-issues#25891 .

Blazor size regression was fixed by:

```
commit ec31705
Author: Ankit Jain <[email protected]>
Date:   Wed Dec 6 05:36:59 2023 -0500

    [wasm] Fix regressed file sizes for blazor (dotnet#92664)
```

.. but a subsequent PR created close to that undid some of the changes:

```
commit a128c15
Author: Ankit Jain <[email protected]>
Date:   Mon Dec 11 15:45:58 2023 -0500

    [wasm/wasi] Consolidate build targets (dotnet#95775)
```

Essentially, `-g` was being passed to the link, and compile-bc steps.

Found in dotnet/perf-autofiling-issues#25891 .
@radical radical added the arch-wasm WebAssembly architecture label Dec 14, 2023
@ghost
Copy link

ghost commented Dec 14, 2023

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

Issue Details

Blazor size regression was fixed by:

commit ec31705ba2dcde3a7b464ae66741f524282076a9
Author: Ankit Jain <[email protected]>
Date:   Wed Dec 6 05:36:59 2023 -0500

    [wasm] Fix regressed file sizes for blazor (#92664)

.. but a subsequent PR created close to that undid some of the changes:

commit a128c1503a5ed423501cf35bcb051b814936027c
Author: Ankit Jain <[email protected]>
Date:   Mon Dec 11 15:45:58 2023 -0500

    [wasm/wasi] Consolidate build targets (#95775)

Essentially, -g was being passed to the link, and compile-bc steps.

Found in dotnet/perf-autofiling-issues#25891 .

Author: radical
Assignees: -
Labels:

arch-wasm

Milestone: -

@radical
Copy link
Member Author

radical commented Dec 14, 2023

TODO:

  • [ ] add a test for this, so we don't regress again this is better tracked by the size comparisons

@radical radical marked this pull request as ready for review December 14, 2023 01:44
@radical
Copy link
Member Author

radical commented Dec 14, 2023

/azp run runtime-wasm

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@radical
Copy link
Member Author

radical commented Dec 14, 2023

Failing hybridGlobalization tests are #95983 .

@radical radical merged commit f59ef7f into dotnet:main Dec 14, 2023
44 of 49 checks passed
@radical radical deleted the fix-size-regression branch December 14, 2023 09:14
@github-actions github-actions bot locked and limited conversation to collaborators Jan 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-wasm WebAssembly architecture area-Build-mono
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants