4 ms·
I’m glad perf is still a focus for the Chrome team. That said… > We know that benchmarks are just one of many ways of measuring the speed of a browser. This i
by eyelidlessness 5y ago
I’m glad perf is still a focus for the Chrome team. That said…
> We know that benchmarks are just one of many ways of measuring the speed of a browser.
This is very true, and with a few notable exceptions my experience is that Safari feels faster across the board even where it has consistently benched slower. This likely has less to do with runtime performance and more to do with process isolation models. I feel confident about that because Safari tends to be more liberal with spawning new processes, and that’s where I experience its pathological edge cases.
(Chrome starts to pool processes by domain sooner than Safari, which puts less pressure on the OS but more on operations within a given domain; Safari creates processes per tab more consistently but ultimately degrades overall app performance and eventually system performance too.)
- saagarjha 5y agoCan you explain why the process isolation model would matter here? It seems at best uncorrelated and my experience has been that aggressive process pooling improves, rather than degrades, system performance.
- eyelidlessness 5y agoChrome's pooling model seems to improve system performance as you say (and as I was trying to express), at high pressure. Safari’s model seems to optimize for low system pressure by favoring spawning more processes. Individually they perform better, but overall it degrades as process count increases.
- saagarjha 5y agoLowering system pressure is basically the same as improving system performance, so I guess I'm still not understanding what you're trying to say.
- Talanes 5y agoI believe pressure here is referring to the workload being asked of the machine, rather than the result of how it is processing that workload. Basically: More Tabs = Pooling is more performant, less tabs individual process is more performant. I don't know how true that is, but I'm fairly certain that is what GP is trying to get across.