5 ms·
They didn't seem to know about e10s in Firefox Nightly which would have solved their "no separate process" thing. Measuring peak CPU is very, very stupid. The
by rockdoe 11y ago
They didn't seem to know about e10s in Firefox Nightly which would have solved their "no separate process" thing.
Measuring peak CPU is very, very stupid. The best Ad Blocker should have near 100% CPU but for an extremely short amount of time. Using 100% CPU is making the most efficient use of the hardware, not being inefficient. Now, I think due to the way they're measuring, it's actually closer to being average CPU because task manager samples over a period.
Also: "Firefox didn’t like this page at all and we couldn’t get consistent readings to run tests, on every refresh the browser would simply not respond or crash."
Huh? I think somethings wrong there. Firefox obviously renders tmz.com. A bug in the thing they used to monitor page load times? Did they check the performance impact of it?
- mirimir 11y agoYes, Firefox loads tmz.com just fine. In a Debian VM, through a nested chain of three VPN services. But then, that's with Noscript and Adblock Plus. Also, Privacy Badger reports 47 trackers on raymond.cc but just 20 on tmz.com ;)
- zobzu 11y agoYeah thats pretty weird it does load just fine. that makes me question the validity of the test in general... also it'd be interesting to benchmark tracking protection vs ublock on Firefox.
- zamalek 11y ago> Measuring peak CPU is very, very stupid. The best Ad Blocker should have near 100% CPU but for an extremely short amount of time. You'd be surprised about how many people perceive this as a bad thing. I've more than once had tickets from customers complaining about high CPU usage under load scenarios. Can't wait to see what journalists make of Servo (which, if up to scratch, will hopefully peg CPU near 100% for a brief period). However, higher CPU usage associated with longer response times is a different story entirely. > it's actually closer to being average CPU because task manager samples over a period. Forget about that: they're even using the wrong tool. Perfmon should have been used. Eyeballing it is completely useless. > Firefox obviously renders tmz.com. Renders perfectly for me, too.
- userbinator 11y agoI've more than once had tickets from customers complaining about high CPU usage under load scenarios What they're really saying is not "you should make the CPU usage lower by spreading it over a longer time", but that the CPU is at 100% for an excessively long period of time. In other words, that 100% period should ideally be so short that it's below the sampling interval and does not appear as 100%.
- dingaling 11y ago> Using 100% CPU is making the most efficient use of the hardware, not being inefficient Not necessarily with modern processors. A power-managedCPU at 50% clock-speed actually uses less than half of the power as at 100%. The relationship of speed to power is not linear, so for a laptop user the most efficient use of hardware might actually be running one job for twice as long at half-speed.
- rockdoe 11y agoA power-managedCPU at 50% clock-speed actually uses less than half of the power as at 100%. But it'll take longer to render the page, which you also don't want.
- JoeAltmaier 11y agoNot to mention,usually 100% CPU is a red flag - something is spinning (stuck).
- eXpl0it3r 11y agoAlso if it's really using 100% of the CPU (not just one core), then it will affect the overall PC experience since it uses up all available resources and doesn't leave anything for other processes. I personally dislike it when an application makes my "PC" lag every now and then. CPU time and RAM are shared resources, thus applications should make sure to not act selfish unless asked for (e.g. encoding a video, etc).
- zymhan 11y agoIt's not up to a random application to make sure you have other resources available, that's your OS's job.
- yawboakye 11y agoThe argument is in favor of near 100% CPU for a short period; gets the job done faster, and uses the available resources (100% CPU) the OS handed down. The time the process spends at 100% is the difference.
- 11y ago
- gorhill 11y ago> Measuring peak CPU is very, very stupid I think it's pretty obvious that the expression "peak CPU usage" implies "peak average CPU usage over a period of time", for the simple fact that literal "peak CPU usage" makes absolutely no sense -- CPU usage is always over a period of time.
- com2kid 11y ago> Using 100% CPU is making the most efficient use of the hardware, I have 4 cores and another 4 through hyper threading. If 100% of my CPU is ever used up to render what amounts of a couple kilobytes of text content, then I start to wonder what is wrong.