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:
kmcclusk%netscape.com
2001-03-23 14:16:05 +00:00
parent 50e36e2810
commit 3ce507a2b4

View File

@@ -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;