mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-22 03:43:58 +00:00
77540: reduce default mMaxTextRun from 8192 to 8191, to greatly improve page load performance. r=harish, sr=blizzard
This commit is contained in:
parent
bb77d03e2e
commit
0329a20c36
@ -2393,7 +2393,9 @@ HTMLContentSink::Init(nsIDocument* aDoc,
|
||||
prefs->GetIntPref("content.notify.interval", &mNotificationInterval);
|
||||
}
|
||||
|
||||
mMaxTextRun = 8192;
|
||||
// Changed from 8192 to greatly improve page loading performance on large
|
||||
// pages. See bugzilla bug 77540.
|
||||
mMaxTextRun = 8191;
|
||||
if (prefs) {
|
||||
prefs->GetIntPref("content.maxtextrun", &mMaxTextRun);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user