Changed default for mNotificationInterval from 1sec to 1/4sec to improve incremental page load performance for slow connections/servers bug 72138; r=karnaze@netscape.com sr=attinasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@90250 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2321,7 +2321,14 @@ HTMLContentSink::Init(nsIDocument* aDoc,
|
||||
mBackoffCount = -1; // never
|
||||
prefs->GetIntPref("content.notify.backoffcount", &mBackoffCount);
|
||||
|
||||
mNotificationInterval = 1000000;
|
||||
// The mNotificationInterval has a dramatic effect on how long it
|
||||
// takes to initially display content for slow connections.
|
||||
// The current value of 1/4 of second provides good
|
||||
// incremental display of content without causing an increase
|
||||
// in page load time. If this value is set below 1/10 of second
|
||||
// it starts to impact page load performance.
|
||||
// see bugzilla bug 72138 for more info.
|
||||
mNotificationInterval = 250000;
|
||||
prefs->GetIntPref("content.notify.interval", &mNotificationInterval);
|
||||
|
||||
mMaxTextRun = 8192;
|
||||
|
||||
Reference in New Issue
Block a user