Closed
Bug 856170
Opened 12 years ago
Closed 9 years ago
Reduce number of queries executed during FHR initialization
Categories
(Firefox Health Report Graveyard :: Client: Desktop, defect, P2)
Firefox Health Report Graveyard
Client: Desktop
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: rnewman, Unassigned)
References
Details
Attachments
(1 file)
3.48 KB,
patch
|
Details | Diff | Splinter Review |
On a first run we execute 168 queries. I think we can do better than that.
Reporter | ||
Updated•12 years ago
|
Assignee: nobody → rnewman
Status: NEW → ASSIGNED
Priority: -- → P2
Reporter | ||
Comment 1•12 years ago
|
||
This alone knocks 5% off our test execution times for services/metrics, and we don't even use IN (?…) to limit our fetch.
Attachment #731913 -
Flags: review?(gps)
Comment 2•12 years ago
|
||
Comment on attachment 731913 [details] [diff] [review]
Part 1. v1
Review of attachment 731913 [details] [diff] [review]:
-----------------------------------------------------------------
Please re-request review once Sqlite.jsm API has been agreed upon. If the API doesn't change, I'll rubber stamp r+ (since there is nothing holding me back now except for API design questions).
::: services/metrics/storage.jsm
@@ +1191,5 @@
> }
>
> // Don't perform DB transaction unless there is work to do.
> + if (missingTypes.size) {
> + let params = function params(array) {
Nit: I don't like names that conflict with built-ins, even if the case is different.
Attachment #731913 -
Flags: review?(gps)
Updated•12 years ago
|
Component: Metrics and Firefox Health Report → Client: Desktop
Product: Mozilla Services → Firefox Health Report
Reporter | ||
Updated•11 years ago
|
Assignee: rnewman → nobody
Comment 3•9 years ago
|
||
FHR is going away per bug 1209088, wontfix.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Updated•6 years ago
|
Product: Firefox Health Report → Firefox Health Report Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•