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

This commit is contained in:
kmcclusk%netscape.com 2001-03-23 14:16:05 +00:00
Родитель 710861712e
Коммит 4511e8464d
1 изменённых файлов: 8 добавлений и 1 удалений

Просмотреть файл

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