« Return to Thread: Yet another tweak Firefox perf recommendation

Re: Yet another tweak Firefox perf recommendation

by Vladimir Vukicevic-3 :: Rate this Message:

Reply to Author | View in Thread

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
_______________________________________________
dev-performance mailing list
dev-performance@...
https://lists.mozilla.org/listinfo/dev-performance

 « Return to Thread: Yet another tweak Firefox perf recommendation