zlacker

[parent] [thread] 5 comments
1. capabl+(OP)[view] [source] 2023-08-31 01:01:35
> I’ve seen this happen, but I don’t understand why that is possible. Chrome tabs are separate process, how can one tab freeze the whole browser even when running the worst code in existence?

Because if anything takes up 100% of CPU, other things starts being unresponsive as there is not enough CPU to go around. Happens easily when dealing with concurrency and parallism, which I'm guessing Figma happily uses.

replies(3): >>paulgb+l7 >>fulafe+Ds >>failus+BB2
2. paulgb+l7[view] [source] 2023-08-31 02:12:38
>>capabl+(OP)
Chrome starts a process per tab. On a modern operating system, one process should not be able to starve another equally-privileged process of CPU, so it sounds like there is more going on here.
3. fulafe+Ds[view] [source] 2023-08-31 05:59:19
>>capabl+(OP)
This is not the case. Maybe people have already forgotten what using computers was like when everyone had only 1 core, but having a few desktop apps pegging their share of cpu doesn't hurt interactivity much even on single-core computers.
replies(1): >>MBCook+s62
◧◩
4. MBCook+s62[view] [source] [discussion] 2023-08-31 16:00:44
>>fulafe+Ds
All the other apps are fine. It’s whatever browser is trying to load Figma that freezes.
replies(1): >>failus+CC2
5. failus+BB2[view] [source] 2023-08-31 18:00:31
>>capabl+(OP)
This should not be the case even on a single CPU machines that run interactive jobs. This is a shoddy process scheduling work.
◧◩◪
6. failus+CC2[view] [source] [discussion] 2023-08-31 18:04:03
>>MBCook+s62
I’ve had a mouse cursor move slowly when doing some tasks in Chrome. And all other apps barely reacting. Still a mystery to me. I hope that was not a sign of some backdoor being installed through a Chrome vulnerability.
[go to top]