зеркало из https://github.com/mozilla/gecko-dev.git
43173e9f50
Stack normalization is uber-slow on emulator because it relies on regexes that are compiled to native instructions which are then emulated. That makes stack normalization very slow too, and as it's very hot some tests will time out nearly always. This patch inserts a simple cache for previously matched strings in stack normalization to avoid the regex engine altogether. This speeds up normalization and hence stack matching greatly (I observed a factor of four speedup per test iteration on an arm-sim noopt debug build for ion-error-ool.js). I also attempted some other fixes (filtering on simple strings, avoiding regex.replace, etc) but caching is by far the most effective fix, and with caching in place the other fixes still don't really move the needle. Depends on D74220 Differential Revision: https://phabricator.services.mozilla.com/D74607 |
||
---|---|---|
.. | ||
ductwork/debugger | ||
examples | ||
ipc | ||
public | ||
rust | ||
src | ||
xpconnect | ||
app.mozbuild | ||
ffi.configure | ||
moz.build | ||
moz.configure | ||
sub.configure |