📜 ⬆️ ⬇️

Eat this delicious juicy CPU (solution to the problem with the CPU)

During the recompilation or restart of an ASP.NET application, I regularly watched a picture when the firefox process used a processor no less, or even more, than aspnet_wp. With what, it is asked, he does it of pleasure if he simply waits for the answer from the server? What is the processor resource spent on?

The answer to this question was noticeable, it turns out, to the naked eye, but it is so stupid that it was difficult to think. The processor is eating ... animation (APNG) of a spinning load indicator! It is enough to replace it with a static png (or animated gif) so that the problem goes away.

The ill-fated file is called loading_16.png. I found it here: Mozilla Firefox\chrome\classic.jar\skin\classic\global\icons\ , - and replaced it with a static image . It also lies in the skin\classic\aero\global\icons\loading_16.png , but this seems to be for Vista, and I have XP. I left him there.
')
Hooray, now do not have to think about switching to another browser! :) I hope that in 3.5 it will be fixed, somehow, the reluctance to repeat the operation after the update.

Another solution is to copy this into userChrome.css (I did not try it, this is information from the Mozilla bug tracker).

Links with details:
https://bugzilla.mozilla.org/show_bug.cgi?id=437829
forum.mozilla-russia.org/viewtopic.php?pid=315838#p315838

Source: https://habr.com/ru/post/62000/


All Articles