Stream: git-wasmtime

Topic: wasmtime / PR #4481 Add a cranelift flag to enable/disabl...


view this post on Zulip Wasmtime GitHub notifications bot (Jul 20 2022 at 17:14):

bnjbvr opened PR #4481 from regalloc-verbose-logs-flag to main:

Instead of relying on the log_enabled check to decide whether to enable regalloc2 verbose logs, I propose to use an explicit Cranelift flag to do that, as it's more explicit and allows downstream users to use the log::trace!() level without suffering from a big performance penalty.

The flag is disabled by default, because I assume this is only useful when debugging regalloc2 or understanding the decisions it took during register allocation.

As a matter of fact, in our embedding where we enable the Trace level to get all logs (and filter them selectively in some tracing subscribers), this is a 32% compile time speedup when compiling a large module in parallel on my machine.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 20 2022 at 17:27):

cfallin submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 20 2022 at 17:27):

cfallin has enabled auto merge for PR #4481.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 21 2022 at 08:13):

bnjbvr updated PR #4481 from regalloc-verbose-logs-flag to main.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 21 2022 at 09:12):

cfallin merged PR #4481.


Last updated: Oct 23 2024 at 20:03 UTC