Issue 2180: Noise and system slow-down due to timeBeginPeriod abuse
http://code.google.com/p/chromium/issues/detail?id=2180
New issue report by rustamabd:
Product Version : 0.2.149.29 (1798)
Other browsers tested:
Add OK or FAIL after other browsers where you have tested this issue:
Safari 3: OK
Firefox 3: OK
IE 7: OK
What steps will reproduce the problem?
1. Get an old laptop
2. Start Chromium
3. Notice degraded system performance and (sometimes) excessive noise when
running on batteries
The Problem
Chromium calls timeBeginPeriod(1) which has a global effect on the system
scheduler. Per Microsoft, changing the resolution of the timer for a
prolonged period of time is a bad thing to do:
http://msdn.microsoft.com/en-us/library/ms713413(VS.85).aspx
I propose to remove calls to timeBeginPeriod and timeEndPeriod. This will
decrease accuracy of the timer from 1ms to ~20ms. As an alternative, use
another high-precision timer function, QueryPerformanceCounter.
Issue attributes:
Status: Unconfirmed
Owner: [EMAIL PROTECTED]
Labels: Type-Bug Pri-2 OS-All Area-Unknown
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Chromium-bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/chromium-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---