зеркало из https://github.com/mozilla/gecko-dev.git
cde4370d90
The SpiderMonkey Debugger API maintains a flag per-debuggee that tracks whether the SpiderMonkey should notify the debugger when new frames are entered, and whether the JIT scripts associated with the debuggee realm have been compiled with debug instrumentation. To avoid constantly needing to clear and regenerate JIT scripts, the flag is permanently enabled once "onEnterFrame" has been used with a given Debugger instance, and when the flag is enabled, there is a runtime performance cost. This runtime cost is what is causing the performance regression here, so to ensure that the flag is cleared at the end of a given instant-eval, we only set "onEnterFrame" on a new temporary Debugger instance, instead of setting it on th existing persistent Debugger instance. Differential Revision: https://phabricator.services.mozilla.com/D64912 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
actors | ||
connectors | ||
performance | ||
socket | ||
startup | ||
tests | ||
devtools-server-connection.js | ||
devtools-server.js | ||
moz.build |