Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[wasm] Trim down size of dotnet.wasm#39549

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
BrzVlad merged 13 commits intodotnet:masterfromBrzVlad:feature-sgen-size-trim
Jul 18, 2020

Conversation

@BrzVlad
Copy link
Member

This disables several debugging features in sgen, helps the compiler remove some unused code related to concurrent collector and disables more assertion messages, but also some other logs. We might have to reenable some of them if this is problematic.

Saves about 60k on wasm

lewing reacted with hooray emoji
This is mainly beneficial do to very common calls of g_error.Saves 35k on wasm
@Dotnet-GitSync-Bot
Copy link
Collaborator

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly onearea label.

@BrzVladBrzVlad added arch-wasmWebAssembly architecture area-GC-mono labelsJul 17, 2020
@ghost
Copy link

Tagging subscribers to this area:@BrzVlad
Notify danmosemsft if you want to be subscribed.

@BrzVladBrzVlad merged commitb613cbe intodotnet:masterJul 18, 2020
Jacksondr5 pushed a commit to Jacksondr5/runtime that referenced this pull requestAug 10, 2020
* [interp] Use constant for concurrent collection in progressSaves 4k on wasm.* [sgen] Use constant for concurrent sweepSaves 0.5k on wasm* [sgen] Remove code from threadpool when not using concurrent modeSaves 2.5k on wasm* [sgen] Avoid keeping some callbacks aliveSaves 0.5k on wasm* [sgen] Avoid registering callback if not used* [sgen] Add option to remove binary protocol from buildSaves 5k on wasm* [sgen] Add option to disable togglerefsSaves 1k on wasm* [sgen] We never need to wait for sweep if serialSaves 0.5k on wasm* [sgen] Disable also canaries if debug helpers are disabledSaves 1k on wasm* [sgen] Disable also pinning_stats if debug features are disabledSaves 2k on wasm* [sgen] Disable also gchandle stats if debug is disabledSaves 1k on wasm* [sgen] Disable also sgen logging if debugging is disabledSaves 6k on wasm* [runtime] Disable log messages if assert messages is disabledThis is mainly beneficial do to very common calls of g_error.Saves 35k on wasm
@karelzkarelz added this to the5.0.0 milestoneAug 18, 2020
@ghostghost locked asresolvedand limited conversation to collaboratorsDec 8, 2020
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

@CoffeeFluxCoffeeFluxAwaiting requested review from CoffeeFlux

@lambdageeklambdageekAwaiting requested review from lambdageek

@marek-safarmarek-safarAwaiting requested review from marek-safar

@nariccnariccAwaiting requested review from naricc

1 more reviewer

@vargazvargazvargaz approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

arch-wasmWebAssembly architecturearea-GC-mono

Projects

None yet

Milestone

5.0.0

Development

Successfully merging this pull request may close these issues.

4 participants

@BrzVlad@Dotnet-GitSync-Bot@vargaz@karelz

[8]ページ先頭

©2009-2025 Movatter.jp