MozillaZine

is it the time to reduce nglayout.initialpaint.delay value?

Discussion about official Mozilla Firefox builds
orizng

User avatar
 
Posts: 463
Joined: November 8th, 2002, 7:25 pm
Location: DALLAS,TX
March 4th, 2008, 12:56 pm

Post Posted March 4th, 2008, 12:56 pm

Its quite different time than 5 years ago now. is 250ms really necessary?

or is there other downsides I didn't realize?

Fuziwuzi

User avatar
 
Posts: 222
Joined: November 28th, 2007, 8:33 am
Location: Atlanta, Georgia USA
March 4th, 2008, 2:15 pm

Post Posted March 4th, 2008, 2:15 pm

I have mine set to 0 (zero), it does make a noticeable difference to me.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b5pre) Gecko/2008030405 Firefox/3.0b4pre ID:2008030405
WinXP Pro SP3, Pentium4 3GHz (Model 630), i848P chipset, 2GB PC3200 DDR ram, ATI x1300 Pro graphics.

Omega X

User avatar
 
Posts: 1851
Joined: October 18th, 2007, 2:38 pm
Location: A Parallel Dimension...
March 4th, 2008, 5:12 pm

Post Posted March 4th, 2008, 5:12 pm

There is no real reason to reduce it. The browser paints less often at 250+ and can in some cases make the page render faster.
Latest: Firefox/3.6 - Thunderbird/3.0.1 - SeaMonkey/2.0.2 - Camino/2.0.1 - Songbird/1.4.3
Nightly: Lorentz/3.6.xpre - Thunderbird/3.1a1pre - SeaMonkey/2.1a1pre - Camino/2.1a1 - Songbird/1.6.0a1

KennS

User avatar
 
Posts: 92
Joined: October 23rd, 2006, 9:13 pm
March 4th, 2008, 7:32 pm

Post Posted March 4th, 2008, 7:32 pm

I seem to have two entries in about:config

nglayout.initialpaint.delay userset integer 50
nglayout.intialpaint.delay userset integer 1

There is a spelling difference between the two - is this on purpose???

I don't remember creating a variable by that name, and I've been using this profile for a long, long time.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b5pre) Gecko/2008030405 Minefield/3.0b5pre ID:2008030405
--
from the bottom of the rockpile

watervole02
 
Posts: 173
Joined: August 11th, 2006, 12:50 pm
March 4th, 2008, 7:47 pm

Post Posted March 4th, 2008, 7:47 pm

Neither entry exists by default, so you might have added nglayout.intialpaint.delay by mistake. There's no mozillazine knowledge base article for it.

KennS

User avatar
 
Posts: 92
Joined: October 23rd, 2006, 9:13 pm
March 4th, 2008, 8:04 pm

Post Posted March 4th, 2008, 8:04 pm

Thanks Watervole02.
--
from the bottom of the rockpile

RaiseMachine

User avatar
 
Posts: 1736
Joined: December 6th, 2004, 6:05 pm
Location: England
March 4th, 2008, 8:57 pm

Post Posted March 4th, 2008, 8:57 pm

KennS wrote:I seem to have two entries in about:config

nglayout.initialpaint.delay userset integer 50
nglayout.intialpaint.delay userset integer 1

There is a spelling difference between the two - is this on purpose???

No, you've just misspelled one of them.

The pref is still checked for: http://lxr.mozilla.org/seamonkey/source ... l.cpp#2468

watervole02 wrote:There's no mozillazine knowledge base article for it.

http://kb.mozillazine.org/Nglayout.initialpaint.delay
"Doesn't the idea of making nature against the law seem to you a bit... unnatural ?" - Bill Hicks
"Money is the Schrodinger's Cat of economics." - Robert Anton Wilson
"It's not a bug, it's two features having a fight in the pub car-park." - Me

watervole02
 
Posts: 173
Joined: August 11th, 2006, 12:50 pm
March 4th, 2008, 9:51 pm

Post Posted March 4th, 2008, 9:51 pm

I was referring to nglayout.intialpaint.delay (without the i). nglayout.initialpaint.delay has a mozillazine article but nglayout.intialpaint.delay does not.

kmc

User avatar
 
Posts: 258
Joined: October 19th, 2007, 3:01 am
Location: China
March 5th, 2008, 4:46 am

Post Posted March 5th, 2008, 4:46 am

Mine is set to 100
Growing up with Firefox

greenknight

User avatar
 
Posts: 5857
Joined: December 13th, 2004, 2:28 am
Location: In the shadow of Mount St. Helens
March 5th, 2008, 5:02 am

Post Posted March 5th, 2008, 5:02 am

The default is a reasonable compromise between optimum for broadband and optimum for dialup. I'm on dialup, and I get faster rendering with a higher setting.
WinXP Home SP3, AMD Duron, 1.2 GHz, 512 MB RAM, 160 GB HD, ATI Radeon 7500 32 MB. Namoroka 3.6b6pre; Minefield 3.7a1pre; Firefox 3.5.7

Fuziwuzi

User avatar
 
Posts: 222
Joined: November 28th, 2007, 8:33 am
Location: Atlanta, Georgia USA
March 5th, 2008, 6:55 am

Post Posted March 5th, 2008, 6:55 am

greenknight wrote:The default is a reasonable compromise between optimum for broadband and optimum for dialup. I'm on dialup, and I get faster rendering with a higher setting.
That is reasonable. When I was on dialup and ISDN, having that set at 275 seemed to produce the best results. But now that I have extreme high speed broadband, setting it to zero is more efficient, I think.
WinXP Pro SP3, Pentium4 3GHz (Model 630), i848P chipset, 2GB PC3200 DDR ram, ATI x1300 Pro graphics.

chob
 
Posts: 4096
Joined: May 17th, 2003, 12:05 pm
Location: London, UK
March 5th, 2008, 6:59 am

Post Posted March 5th, 2008, 6:59 am

The nglayout.initialpaint.delay value tells firefox how long to wait after the server has responded before it starts to do layout/reflow/rendering. I'm not sure that a 250ms delay is going to have much effect on anything myself.

Setting it to 0 can mean as soon as the server sends the first byte, firefox tries to parse this and start layout, but of course it takes time for enough html to come back for firefox to render anything worth seeing.

Setting a value to 0 probably just means firefox chews a little more CPU time as it tried to render and relfow before having enough data to show anything meaningful. Although it probably gives the impression of being slightly more responsive because the page starts to render quarter of a second earlier.

orizng

User avatar
 
Posts: 463
Joined: November 8th, 2002, 7:25 pm
Location: DALLAS,TX
March 5th, 2008, 8:18 am

Post Posted March 5th, 2008, 8:18 am

I have no problem on either side

however, I think after so many changes in firefox 3. this value, when set to 0~100ms, have some significant impact on users (I dont know how many of them).

I just think we should re-evaluate it, even if eventually decide against a change.

chob
 
Posts: 4096
Joined: May 17th, 2003, 12:05 pm
Location: London, UK
March 5th, 2008, 8:32 am

Post Posted March 5th, 2008, 8:32 am


Return to Firefox Builds


Who is online

Users browsing this forum: Andu, japio and 23 guests