Bug 900784 - Enable the JavaScript Start-up Bytecode Cache. r=mrbkap
☠☠ backed out by 7c9e0fb89d84 ☠ ☠
authorNicolas B. Pierron <nicolas.b.pierron@mozilla.com>
Fri, 28 Jul 2017 13:06:48 +0000
changeset 420423 bc37ab3e9abcfaa3e25b0b9681ebd345d042b26d
parent 420422 d578eb28a8e2363f01f3afc0a51ea5aa49f65768
child 420424 6e3ba727a94a487b0df71986d7456101a3486dbf
push id7566
push usermtabara@mozilla.com
push dateWed, 02 Aug 2017 08:25:16 +0000
treeherdermozilla-beta@86913f512c3c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmrbkap
bugs900784
milestone56.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 900784 - Enable the JavaScript Start-up Bytecode Cache. r=mrbkap
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -213,17 +213,17 @@ pref("dom.keyboardevent.dispatch_during_
 // causes a separate compartment for each (addon, global) combination, which may
 // significantly increase the number of compartments in the system.
 pref("dom.compartment_per_addon", true);
 
 // Whether to enable the JavaScript start-up cache. This causes one of the first
 // execution to record the bytecode of the JavaScript function used, and save it
 // in the existing cache entry. On the following loads of the same script, the
 // bytecode would be loaded from the cache instead of being generated once more.
-pref("dom.script_loader.bytecode_cache.enabled", false);
+pref("dom.script_loader.bytecode_cache.enabled", true);
 
 // Ignore the heuristics of the bytecode cache, and always record on the first
 // visit. (used for testing purposes).
 
 // Choose one strategy to use to decide when the bytecode should be encoded and
 // saved. The following strategies are available right now:
 //   * -2 : (reader mode) The bytecode cache would be read, but it would never
 //          be saved.