From e01c2d6476147ce6978a606b47dbd9b9a6dcfcc9 Mon Sep 17 00:00:00 2001 From: Karim shoair Date: Fri, 24 Jan 2025 21:30:09 +0200 Subject: [PATCH] Increase process count for perfomance boost while keeping it a realistic number Using 16 is to balance process isolation and resource use as using 60000 as PlayWright is impractical and may cause instability. --- settings/camoufox.cfg | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/settings/camoufox.cfg b/settings/camoufox.cfg index 924a6c4..0a9ade0 100644 --- a/settings/camoufox.cfg +++ b/settings/camoufox.cfg @@ -455,10 +455,9 @@ defaultPref("network.cookie.cookieBehavior", 4); // issue we can povide custom '@mozilla.org/ipc/processselector;1' // defaultPref("dom.ipc.processCount", 60000); -// Dear Playwright devs, -// YES! This does cause a significant performance hit! -// Camoufox will be keeping this at 1 for the foreseeable future. -defaultPref("dom.ipc.processCount", 1); +// Using 16 is to balance process isolation and resource usage +// The 60000 PlayWright is using is impractical and may cause instability. +defaultPref("dom.ipc.processCount", 16); // Never reuse processes as they may keep previously overridden values // (locale, timezone etc.).