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

Set opt-level s for smaller .wasm size #3

Merged
merged 1 commit into from
Oct 2, 2017
Merged

Conversation

bwasty
Copy link
Member

@bwasty bwasty commented Oct 2, 2017

Found a barely documented size-optimization switch: rust-lang/rust#35784
Before:
gltf-validator-wasm-size-old
After:
gltf-validator-wasm-size-new
(the upper is transferred size, the lower the actual size)

Opt-level z is supposed to be even more aggressive, but the result actually is 100KB larger actually.

@bwasty bwasty changed the title Set opt-level s for smaller sizes Set opt-level s for smaller .wasm size Oct 2, 2017
@bwasty bwasty merged commit b0f10ea into gltf-rs:master Oct 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant