Closed
Bug 764019
Opened 11 years ago
Closed 11 years ago
Remove our prefetch when READOPS=0 on windows
Categories
(Core :: General, defect)
Tracking
()
RESOLVED
FIXED
mozilla16
People
(Reporter: taras.mozilla, Assigned: glandium)
References
Details
Attachments
(1 file, 2 obsolete files)
1.79 KB,
patch
|
taras.mozilla
:
review+
|
Details | Diff | Splinter Review |
bug 757215 shows that my heuristic a slight loss. We should focus any profiling/optimization on the case where we know prefetch is nuked for us, ie bug 692255.
Assignee | ||
Comment 1•11 years ago
|
||
I think the experiment we were talking about yesterday would be a separate bug.
Attachment #632586 -
Flags: review?(taras.mozilla)
Assignee | ||
Comment 2•11 years ago
|
||
Need to leave ioCounters there because it's used for *GLUESTARTUP_READ_OPS and *GLUESTARTUP_READ_TRANSFER.
Attachment #632636 -
Flags: review?(taras.mozilla)
Assignee | ||
Updated•11 years ago
|
Attachment #632586 -
Attachment is obsolete: true
Attachment #632586 -
Flags: review?(taras.mozilla)
Comment 3•11 years ago
|
||
Comment on attachment 632636 [details] [diff] [review] Only rely on the maintenance service to enable preload on Windows Review of attachment 632636 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/app/nsBrowserApp.cpp @@ -234,5 @@ > if (IsPrefetchDisabledViaService()) { > preloadReason = PRELOAD_SERVICE; > - } else if ((gotCounters && !ioCounters.ReadOperationCount)) { > - preloadReason = PRELOAD_IOCOUNT; > - } You need to keep this closing brace otherwise it won't compile.
Assignee | ||
Comment 4•11 years ago
|
||
(In reply to Brian R. Bondy [:bbondy] from comment #3) > @@ -234,5 @@ > > if (IsPrefetchDisabledViaService()) { > > preloadReason = PRELOAD_SERVICE; > > - } else if ((gotCounters && !ioCounters.ReadOperationCount)) { > > - preloadReason = PRELOAD_IOCOUNT; > > - } > > You need to keep this closing brace otherwise it won't compile. Yeah, try just told me so :)
Attachment #632667 -
Flags: review?(taras.mozilla)
Assignee | ||
Updated•11 years ago
|
Attachment #632636 -
Attachment is obsolete: true
Attachment #632636 -
Flags: review?(taras.mozilla)
Reporter | ||
Updated•11 years ago
|
Attachment #632667 -
Flags: review?(taras.mozilla) → review+
Assignee | ||
Comment 5•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/da76a072b2b0
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla16
You need to log in
before you can comment on or make changes to this bug.
Description
•