From 63c758c2c48d4c6425a220713425db482ed6cdd4 Mon Sep 17 00:00:00 2001 From: yokoffing <11689349+yokoffing@users.noreply.github.com> Date: Sun, 16 Oct 2022 14:33:57 -0400 Subject: [PATCH] Fast Nov 2022 (#81) * sessionstore.interval --- FastFox.js => Fastfox.js | 69 +++++++++++++++++++++------------------- 1 file changed, 36 insertions(+), 33 deletions(-) rename FastFox.js => Fastfox.js (61%) diff --git a/FastFox.js b/Fastfox.js similarity index 61% rename from FastFox.js rename to Fastfox.js index 70aed63..3d66d70 100644 --- a/FastFox.js +++ b/Fastfox.js @@ -7,56 +7,59 @@ * To make a change to preferences, you will have to edit the user.js file. */ -/**************************************************************************** - * FasterFox * - * "Non ducor duco." * - * priority: speedy browsing * - * version: September 2022 * - * url: https://github.com/yokoffing/Better-Fox * - ***************************************************************************/ +/**************************************************************************************** + * Fastfox * + * "Non ducor duco" * + * priority: speedy browsing * + * version: November 2022 * + * url: https://github.com/yokoffing/Betterfox * + ***************************************************************************************/ -/**************************************************************************** - * * - * [NOTE] For best performance on older hardware, you will need to test * - * these settings individually, especially Webrender. * - * * -****************************************************************************/ +/**************************************************************************************** + * * + * [NOTE] For best performance on older hardware, you will need to test * + * these settings individually, especially Webrender. * + * * +****************************************************************************************/ // PREF: force enable all Webrender prefs -// DISABLING WILL NOT BE SUPPORTED SOON | https://groups.google.com/a/mozilla.org/g/dev-platform/c/__ZtiiEn0u0/m/fbTlD-I4AAAJ?pli=1 // [1] https://hacks.mozilla.org/2017/10/the-whole-web-at-maximum-fps-how-webrender-gets-rid-of-jank/ // [2] https://wiki.mozilla.org/Platform/GFX/WebRender_Where // [3] https://www.reddit.com/r/firefox/comments/fo1jwz/make_firefox_faster/flhh5l2/ -// user_pref("gfx.webrender.all", true); +//user_pref("gfx.webrender.all", true); // PREF: if your hardware doesn't support Webrender, you can fallback to Webrender's software renderer // [NOTE] Both preferences need to be "true" if you're using the software renderer. -// DISABLING WILL NOT BE SUPPORTED SOON | https://groups.google.com/a/mozilla.org/g/dev-platform/c/__ZtiiEn0u0/m/fbTlD-I4AAAJ?pli=1 // [1] https://www.ghacks.net/2020/12/14/how-to-find-out-if-webrender-is-enabled-in-firefox-and-how-to-enable-it-if-it-is-not/ -// user_pref("gfx.webrender.software", true); +//user_pref("gfx.webrender.software", true); // PREF: Lazy Image Loading // https://www.ghacks.net/2020/02/15/firefox-75-gets-lazy-loading-support-for-images/ -user_pref("dom.image-lazy-loading.enabled", true); // default +//user_pref("dom.image-lazy-loading.enabled", true); // DEFAULT -// PREF: control how tabs are loaded when a session is restored. +// PREF: control how tabs are loaded when a session is restored // true=Tabs are not loaded until they are selected (default) // false=Tabs begin to load immediately. -user_pref("browser.sessionstore.restore_on_demand", true); // default -// user_pref("browser.sessionstore.restore_pinned_tabs_on_demand", true); -user_pref("browser.sessionstore.restore_tabs_lazily", true); // default +//user_pref("browser.sessionstore.restore_on_demand", true); // DEFAULT + //user_pref("browser.sessionstore.restore_pinned_tabs_on_demand", true); +//user_pref("browser.sessionstore.restore_tabs_lazily", true); // DEFAULT // PREF: disable preSkeletonUI on startup // May set to "true" if your hardware is very old. - // user_pref("browser.startup.preXulSkeletonUI", false); +//user_pref("browser.startup.preXulSkeletonUI", false); + +// PREF: set the minimum interval between session save operations +// Increasing this can help on older machines and some websites, as well as reducing writes +// [1] https://bugzilla.mozilla.org/1304389 +//user_pref("browser.sessionstore.interval", 30000); // [DEFAULT: 15000] // PREF: JPEG XL image format -user_pref("image.jxl.enabled", true); +user_pref("image.jxl.enabled", true); // PREF: about:home startup cache -// A cache for the initial about:home document that is loaded by default at startup. -// The purpose of the cache is to improve startup performance. - // user_pref("browser.startup.homepage.abouthome_cache.enabled", true); +// A cache for the initial about:home document that is loaded by default at startup +// The purpose of the cache is to improve startup performance +//user_pref("browser.startup.homepage.abouthome_cache.enabled", true); // PREF: CSS Masonry Layout user_pref("layout.css.grid-template-masonry-value.enabled", true); @@ -64,14 +67,14 @@ user_pref("layout.css.grid-template-masonry-value.enabled", true); // PREF: Prioritized Task Scheduling API // [1] https://blog.mozilla.org/performance/2022/06/02/prioritized-task-scheduling-api-is-prototyped-in-nightly/ // [2] https://medium.com/airbnb-engineering/building-a-faster-web-experience-with-the-posttask-scheduler-276b83454e91 -user_pref("dom.enable_web_task_scheduling", true); +user_pref("dom.enable_web_task_scheduling", true); // PREF: OffscreenCanvas // [1] https://yashints.dev/blog/2019/05/11/offscreen-canvas // [2] https://www.youtube.com/watch?v=CWvRA9E0DqU // [3] https://developer.chrome.com/blog/offscreen-canvas/ // [4] https://groups.google.com/a/mozilla.org/g/dev-platform/c/kp9SZL-0wW0 -user_pref("gfx.offscreencanvas.enabled", true); +user_pref("gfx.offscreencanvas.enabled", true); // PREF: CSS Font Loading API in workers // [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1072107 @@ -80,16 +83,16 @@ user_pref("layout.css.font-loading-api.workers.enabled", true); // PREF: Enable animation-composition // [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1785329 // [2] https://bugzilla.mozilla.org/show_bug.cgi?id=1293490 -user_pref("layout.css.animation-composition.enabled", true); +user_pref("layout.css.animation-composition.enabled", true); // PREF: Wasm GC // [1] https://github.com/WebAssembly/gc/blob/main/proposals/gc/Overview.md - // user_pref("javascript.options.wasm_gc", true); +//user_pref("javascript.options.wasm_gc", true); // PREF: Wasm Function References // [1] https://github.com/WebAssembly/function-references/blob/master/proposals/function-references/Overview.md - // user_pref("javascript.options.wasm_function_references", true); +//user_pref("javascript.options.wasm_function_references", true); // PREF: Shadowrealms // [1] https://github.com/tc39/proposal-shadowrealm/blob/main/explainer.md - // user_pref("javascript.options.experimental.shadow_realms", true); +//user_pref("javascript.options.experimental.shadow_realms", true);