Closed
Bug 582712
Opened 15 years ago
Closed 15 years ago
remove nsHTMLDocument::TryBookmarkCharset
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla2.0b8
People
(Reporter: Gavin, Assigned: Ms2ger)
References
Details
Attachments
(1 file, 2 obsolete files)
|
4.54 KB,
patch
|
Details | Diff | Splinter Review |
It's one of the last steps we try when looking for charset data, querying the places database for existing bookmarks. I suspect that hitting places at that point in the loading process causes more perf damage than the benefit gained, especially since the "user selected the character set and then bookmarked the page" scenario seems relatively unlikely.
| Assignee | ||
Comment 1•15 years ago
|
||
Still need to test this.
| Assignee | ||
Comment 2•15 years ago
|
||
Looks like there were no tests for this case.
Attachment #461265 -
Attachment is obsolete: true
Attachment #462083 -
Flags: review?
| Assignee | ||
Updated•15 years ago
|
Attachment #462083 -
Flags: review? → review?(gavin.sharp)
| Reporter | ||
Comment 3•15 years ago
|
||
Comment on attachment 462083 [details] [diff] [review]
Patch v1
I'm not a good reviewer for this - need a DOM peer. Would also like bz to at least sign off. Can you get useful Tp numbers from try?
Attachment #462083 -
Flags: review?(gavin.sharp)
| Assignee | ||
Updated•15 years ago
|
Attachment #462083 -
Flags: review?(bzbarsky)
| Assignee | ||
Comment 4•15 years ago
|
||
I don't have access to try.
Comment 5•15 years ago
|
||
Comment on attachment 462083 [details] [diff] [review]
Patch v1
Yeah, ok.
Attachment #462083 -
Flags: review?(bzbarsky) → review+
| Assignee | ||
Updated•15 years ago
|
Attachment #462083 -
Flags: approval2.0?
Comment 6•15 years ago
|
||
Do we know what the perf win is from this? It doesn't seem highly risky, but we're locking down approvals much more tightly now.
Comment 7•15 years ago
|
||
this is probably causing Places to init earlier than needed and through bookmarks service. And it's causing content process to init Places as well. I'd really appreciate approval on this patch.
Comment 8•15 years ago
|
||
Also it is causing sync stuff to happen on page load (UI hang), when we have tried to make all that stuff async for FX4.
| Assignee | ||
Updated•15 years ago
|
Status: NEW → ASSIGNED
Updated•15 years ago
|
Attachment #462083 -
Flags: approval2.0? → approval2.0+
| Assignee | ||
Comment 9•15 years ago
|
||
Attachment #462083 -
Attachment is obsolete: true
| Assignee | ||
Updated•15 years ago
|
Keywords: checkin-needed
Comment 10•15 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b8
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•