mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +09:00
Add JIT warm-up threshold preferences for baseline and ion compilation
This commit is contained in:
parent
cc73e1f171
commit
6f4da14ee2
2 changed files with 24 additions and 2 deletions
|
|
@ -1265,6 +1265,11 @@ pref("javascript.options.unboxed_objects", false);
|
|||
pref("javascript.options.baselinejit", true);
|
||||
pref("javascript.options.ion", true);
|
||||
pref("javascript.options.ion.inlining", true);
|
||||
// JIT warm-up thresholds (-1 keeps engine defaults).
|
||||
// Lower values can improve sustained throughput on large script bundles
|
||||
// (e.g. React/jQuery-heavy apps) at some startup compile cost.
|
||||
pref("javascript.options.baselinejit.threshold", 8);
|
||||
pref("javascript.options.ion.threshold", 80);
|
||||
pref("javascript.options.asmjs", true);
|
||||
pref("javascript.options.wasm", true);
|
||||
// wasm jit crashes in 32bit builds because of 64bit casts so
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue