Skip to content
This repository was archived by the owner on Aug 25, 2025. It is now read-only.

explicitly mention compile-time options of logging crates for code-size reduction#302

Open
hmeine wants to merge 1 commit intorustwasm:masterfrom
hmeine:logging_code_size
Open

explicitly mention compile-time options of logging crates for code-size reduction#302
hmeine wants to merge 1 commit intorustwasm:masterfrom
hmeine:logging_code_size

Conversation

@hmeine
Copy link

@hmeine hmeine commented Sep 19, 2023

I found it possible to shave more than 1% off my already optimized .wasm size by using the release_max_level_off feature on the tracing crate. Hence, I suggest to extend the section that already mentions string formatting as a potential vector for code size reduction to point to these features, since tracing and log are commonly used (also indirectly in dependencies – bevy in my case).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant