Skip to content

Conversation

@pavelsavara
Copy link
Member

@pavelsavara pavelsavara commented Jan 4, 2023

Fixes #51524

emcc --closure 1

Release size reduction of dotnet.js
from 338118 to 274571 = 63547

7kb difference after brotli compression

@pavelsavara pavelsavara added this to the 8.0.0 milestone Jan 4, 2023
@pavelsavara pavelsavara self-assigned this Jan 4, 2023
@ghost
Copy link

ghost commented Jan 4, 2023

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

Issue Details

Release size reduction of dotnet.js
from 338118 to 274571 = 63547

Author: pavelsavara
Assignees: pavelsavara
Labels:

arch-wasm, area-System.Runtime.InteropServices.JavaScript

Milestone: 8.0.0

@pavelsavara
Copy link
Member Author

image

7kb after brotli compression

@pavelsavara
Copy link
Member Author

With compilation_level=SIMPLE_OPTIMIZATIONS there is middle ground result.
uncompressed 310860 and 70321 brotli

@pavelsavara
Copy link
Member Author

I should consider SIMPLE_OPTIMIZATIONS as default.

@pavelsavara
Copy link
Member Author

/azp run runtime-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@pavelsavara
Copy link
Member Author

/azp run runtime-wasm

@ghost
Copy link

ghost commented Jan 19, 2023

Fixes #51524

emcc --closure 1

Release size reduction of dotnet.js from 338118 to 274571 = 63547

7kb difference after brotli compression

@pavelsavara
Copy link
Member Author

Closing for now. We would have to ship Java as part of the wasm-tools workload.

@ghost ghost locked as resolved and limited conversation to collaborators Jun 5, 2023
@pavelsavara pavelsavara deleted the browser_closure branch September 2, 2024 15:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[browser] Enable closure compiler for dotnet.native.js

2 participants