Closed
Bug 468705
Opened 17 years ago
Closed 17 years ago
cache the result of _getSyncTableStatement in nsDBFlush
Categories
(Toolkit :: Places, defect, P3)
Toolkit
Places
Tracking
()
RESOLVED
FIXED
mozilla1.9.2a1
People
(Reporter: mak, Assigned: sdwilsh)
References
Details
(Keywords: fixed1.9.1, perf)
Attachments
(1 file, 3 obsolete files)
|
3.73 KB,
patch
|
beltzner
:
approval1.9.1+
|
Details | Diff | Splinter Review |
Since the statement does not change we could cache it instead of generating it every time.
| Assignee | ||
Comment 1•17 years ago
|
||
I talked with taras about this, and because we regenerate these statements every time, this actually hurts mobile. Therefore, I'm nominating this for a P2 blocker.
Flags: blocking1.9.1?
| Assignee | ||
Comment 2•17 years ago
|
||
This should do the trick, but I'm asserting in storage. Until check-interactive works, I really cannot do anything about this...
Assignee: nobody → sdwilsh
Status: NEW → ASSIGNED
Comment 3•17 years ago
|
||
Mobile's not releasing on 1.9.1 and is back working on trunk, so wanted not blocking.
Flags: wanted1.9.1+
Flags: blocking1.9.1?
Flags: blocking1.9.1-
| Reporter | ||
Updated•17 years ago
|
Target Milestone: --- → mozilla1.9.1
Comment 4•17 years ago
|
||
this'll still help in firefox, would be nice to get this for 3.1.
Keywords: perf
Priority: -- → P3
| Assignee | ||
Comment 5•17 years ago
|
||
duh - I know why it was crashing. We finalize the statements, but we can't do that when we cache them!
| Assignee | ||
Comment 6•17 years ago
|
||
I can be so stupid sometimes...
Attachment #352226 -
Attachment is obsolete: true
Attachment #361906 -
Flags: review?(mak77)
| Assignee | ||
Updated•17 years ago
|
Whiteboard: [needs review mak]
| Reporter | ||
Comment 7•17 years ago
|
||
shouldn't we finalize the cached statements after the last sync on shutdown?
| Assignee | ||
Comment 8•17 years ago
|
||
(In reply to comment #7)
> shouldn't we finalize the cached statements after the last sync on shutdown?
Yup - realized that last night as I was trying to fall asleep. I'll put a patch up with that change in a bit.
| Reporter | ||
Comment 9•17 years ago
|
||
Comment on attachment 361906 [details] [diff] [review]
v1.1
r=me with finalized statements
Attachment #361906 -
Flags: review?(mak77) → review+
| Assignee | ||
Comment 10•17 years ago
|
||
With finalizing. I'll request approval on this once I land it on mozilla-central since this is a low-risk change that gets more work off of the main thread.
Attachment #361906 -
Attachment is obsolete: true
| Assignee | ||
Updated•17 years ago
|
Whiteboard: [needs review mak] → [can land]
| Assignee | ||
Comment 11•17 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Whiteboard: [can land]
| Assignee | ||
Updated•17 years ago
|
Attachment #362014 -
Flags: approval1.9.1?
Comment 12•17 years ago
|
||
This caused bug 478948.
| Assignee | ||
Updated•17 years ago
|
Attachment #362014 -
Flags: approval1.9.1?
| Assignee | ||
Comment 13•17 years ago
|
||
Comment on attachment 362014 [details] [diff] [review]
v1.2
This caused a regression, so killing approval request.
| Assignee | ||
Comment 14•17 years ago
|
||
This patch is for branch. It combines attachment 36201 [details] [diff] [review] and attachment 363340 [details] [diff] [review] from bug 478948 (regression bug, caused by this bug).
Attachment #362014 -
Attachment is obsolete: true
Attachment #364606 -
Flags: approval1.9.1?
Comment 15•17 years ago
|
||
Comment on attachment 364606 [details] [diff] [review]
branch patch
a191=beltzner
Attachment #364606 -
Flags: approval1.9.1? → approval1.9.1+
| Assignee | ||
Comment 16•17 years ago
|
||
Keywords: fixed1.9.1
Target Milestone: mozilla1.9.1 → mozilla1.9.2a1
| Assignee | ||
Comment 17•17 years ago
|
||
Note: 1.9.1 check-in rolled in the patch in bug 478948 (as noted in comment 14)
You need to log in
before you can comment on or make changes to this bug.
Description
•