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.
This commit is contained in:
Karim shoair 2025-01-24 21:30:09 +02:00
parent 499fcd5442
commit e01c2d6476

View file

@ -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.).