diff options
author | Alon Zakai <azakai@google.com> | 2024-09-10 14:22:41 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-10 14:22:41 -0700 |
commit | b0c955d4e5d1454dd9d6036d25ec9118146eee4c (patch) | |
tree | b332998f0cca1e84111c5aa7b90a74d3e5e22c91 /src/tools/wasm-ctor-eval.cpp | |
parent | 34ee8342f8148e4c25bd1990e518cd8a9a502f80 (diff) | |
download | binaryen-b0c955d4e5d1454dd9d6036d25ec9118146eee4c.tar.gz binaryen-b0c955d4e5d1454dd9d6036d25ec9118146eee4c.tar.bz2 binaryen-b0c955d4e5d1454dd9d6036d25ec9118146eee4c.zip |
[NFC] Remove excessive debug logging from binary reading (#6927)
We were doing a debug logging for every LEB byte. It turns out that the
isDebugEnabled() calls are expensive when called so frequently: in a
release+assertion build, even with debug disabled, these checks are the
highest thing in the profile. This PR removes the checks, which makes
binary reading 12% faster.
Diffstat (limited to 'src/tools/wasm-ctor-eval.cpp')
0 files changed, 0 insertions, 0 deletions