3 ms·
“4 sub-processes when I only have two tabs?” I don’t know anything about Firefox’s specifics, but forking an already initialized process typically is faster th
by Someone 6y ago
“4 sub-processes when I only have two tabs?”
I don’t know anything about Firefox’s specifics, but forking an already initialized process typically is faster than launching a new process, so if I were to write a multi-process browser, I might have an empty, initialized, process hanging around of every type that can be forked and then sent a message to load a page or extension.
Alternatively, Firefox could keep processes running on the decent chance that you will want to open a new tab soon.