« Return to Thread: Yet another tweak Firefox perf recommendation

Re: Yet another tweak Firefox perf recommendation

by Peter Weilbacher :: Rate this Message:

Reply to Author | View in Thread

Chris Hofmann wrote:

>
>
> Vladimir Vukicevic wrote:
>> Mike Schroepfer wrote:
>>  
>>> nglayout.initialpaint.delay=0
>>>    
>>
>> This is still very much a perception thing.  The paint delay default is
>> (iirc) 250 ms; so if a page takes longer than a quarter of a second to
>> load, nothing will be painted in that first quarter second.  (If a page
>> fully loads beforehand, it gets painted right away.)  Lowering this
>> number, or setting it to 0, usually causes an overall performance loss:
>> we spend lots of time doing layout and repainting while we're still
>> doing incremental reflow and the like as the page is loading.  However,
>> maybe 250ms is too high of a preset these days; 100ms might be better to
>> strike a balance between perception and reality.  I have no idea how to
>> actually test this, though.
>>
>>      - Vlad
>>
>>  
> lots of early research and tuning went in to the setting we have now
> dating back to http://weblogs.mozillazine.org/dave/archives/2002_04.html
>
> its worth looking into this in an age when a lot more people have
> higher speed connections and faster pc's but to do this we should also still do a bunch
> of testing and evaluation on slow systems and slow networks if we are
> going to change the default setting.   the best solution might be to
> make the setting more dynamic so slower systems and pc's on slow
> connections could get the perceptual advantage of incremental painting,
> and higher speed networks and systems could just blast out the content....

I have to say that the only pages that I visit and that are faster than 1s
to download and display (even with this pref set to 0) are the ones internal
to our institute. Everything else even within Germany downloads+displays
much slower, typically taking several seconds to display anything. Is that
so much different in the US? If not, I don't see any reason to change this
setting.

   Peter.

_______________________________________________
dev-performance mailing list
dev-performance@...
https://lists.mozilla.org/listinfo/dev-performance

 « Return to Thread: Yet another tweak Firefox perf recommendation