Safari Beta 2 seems to be a CPU hog...
I had been browsing a few sites with Safari Beta 2 (v73), end closed all opened windows.
Then I started playing around with loading screen savers in the background (in this case, Serene Screen's Marine Aquarium). I noticed they were moving in an annoyingly jerky fashion. So I renice'd the screen saver process to the highest priority, and it was still stuttering.
At this point, I started quiting running applications. There weren't many. Immediately after quiting Safari, all stuttering in the screen saver vanished. I don't see this when running other browsers, such as Camino.
So why, with no windows open, is Safari hogging so much CPU time? Loading it up again introduced a small stutter in the screen saver, but not nearly so pronounced. Could there be a memory leak over time?
John
Then I started playing around with loading screen savers in the background (in this case, Serene Screen's Marine Aquarium). I noticed they were moving in an annoyingly jerky fashion. So I renice'd the screen saver process to the highest priority, and it was still stuttering.
At this point, I started quiting running applications. There weren't many. Immediately after quiting Safari, all stuttering in the screen saver vanished. I don't see this when running other browsers, such as Camino.
So why, with no windows open, is Safari hogging so much CPU time? Loading it up again introduced a small stutter in the screen saver, but not nearly so pronounced. Could there be a memory leak over time?
John
Comments
-D
Originally posted by CubeDude
I don't have any trouble with running screen savers behind Safari. It probably is your graphics card.
First off, Safari running in the background with no open windows should not be taking up and graphics processing power. The screen saver was running smoothly without the Safari running, so why would it be the graphics chip?
Second, not all screen savers are equal. Marine Aquarium, for example, tends to take a constant 40-50% of my CPU time. Slideshows, on the other handle, mostly take up less than 5%.
All that being said, I haven't been able to reproduce the behaviour, so I am not sure what I was seeing.
Originally posted by grad student
run top -u in the terminal
-D
hey neat command, thanks
Originally posted by John Whitney
So why, with no windows open, is Safari hogging so much CPU time?
I have noticed that problem once or twice. I think it depends on the website visited too. I was viewing a site with flash and javascript content and after some time the fan of the powerbook started operating, sign that I have reached 100% CPU usage. Weird ... I launched terminal and with "top -u -s5" (to take samples every 5 seconds) I saw CPU usage from Safari at 70% or more! Quitting and relaunching Safari obviously solves the problem.