diff options
author | Alon Zakai <azakai@google.com> | 2021-05-18 16:22:41 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-18 16:22:41 -0700 |
commit | 9343cbc52def4c9f2400a215589d9d31f3c7c321 (patch) | |
tree | ea3d38db24c8fe6e7d5309e556e59eee0ef90252 /src/passes/PrintFunctionMap.cpp | |
parent | 92b0cbdd9e2747c5cf6ecc546718d0ec0b1bc64b (diff) | |
download | binaryen-9343cbc52def4c9f2400a215589d9d31f3c7c321.tar.gz binaryen-9343cbc52def4c9f2400a215589d9d31f3c7c321.tar.bz2 binaryen-9343cbc52def4c9f2400a215589d9d31f3c7c321.zip |
wasm-reduce: Always decrease the factor (#3849)
When things go well, the reducer shrinks the factor by 50% or more, but
when things are slow it kept the factor unchanged. That is annoying in
some cases where you really have no benefit from reduction until the
factor gets small. So this at least reduces it by 10% in each iteration.
Diffstat (limited to 'src/passes/PrintFunctionMap.cpp')
0 files changed, 0 insertions, 0 deletions