Pale Moon and Windows timers

General discussion and chat (archived)
Locked
asmian

Pale Moon and Windows timers

Post by asmian » 2014-08-14, 21:32

:silent:
Last edited by asmian on 2014-10-04, 20:20, edited 1 time in total.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 29243
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: Pale Moon and Windows timers

Post by Moonchild » 2014-08-14, 23:38

Pale Moon does not force 1ms timers. It uses the system standard timer resolution, as shown by powercfg with Pale Moon running:

Platform Timer Resolution:Platform Timer Resolution
The default platform timer resolution is 15.6ms (15625000ns) and should be used whenever the system is idle. If the timer resolution is increased, processor power management technologies may not be effective. The timer resolution may be increased due to multimedia playback or graphical animations.
Current Timer Resolution (100ns units) 156000

(even on a high performance profile, with full hardware acceleration, this is not changed, even when actively browsing).

There's no benefit to yanking the timer resolution up to 1 ms for a browser, IMHO, and it's simply not efficient to do so (and would go against Pale Moon's goals to not waste energy and resources unnecessarily).
"Son, in life you do not fight battles because you expect to win, you fight them merely because they need to be fought." -- Snagglepuss
Image

Locked