Closed
Bug 1523536
Opened 6 years ago
Closed 6 years ago
New bug's "Choose from your most-used components" list is slow to show up
Categories
(bugzilla.mozilla.org :: API, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: glandium, Assigned: kohei)
References
(Blocks 1 open bug)
Details
(Keywords: perf)
Attachments
(2 files)
The list of most-used components that shows up on the new bug page is really useful, but it's so slow to show up that I can type something in the find box and get the corresponding autocompletion before it's filled up.
Assignee | ||
Comment 1•6 years ago
|
||
Yeah I know, the /rest/bug
API is really slow. Will find a better way to do it once I get time.
Component: General → Extensions: BMO
See Also: → 1473417
Assignee | ||
Comment 2•6 years ago
|
||
Dylan has just fixed Bug 1512815, so the component list is now displayed quickly. The fix will be deployed tomorrow \o/
Assignee | ||
Comment 3•6 years ago
•
|
||
The /rest/bug
API call still takes >350ms, which feels slow. We should be adding a new API method to run SQL directly.
SELECT products.name AS product, components.name AS component FROM bugs
INNER JOIN products ON bugs.product_id = products.id
INNER JOIN components ON bugs.component_id = components.id
WHERE bugs.reporter = 232883 AND bugs.creation_ts > '2018-05-17'
AND products.isactive = 1 AND components.isactive = 1
GROUP BY components.id ORDER BY count(bugs.bug_id) DESC LIMIT 10;
This is done in 0.00 sec.
Assignee: nobody → kohei.yoshino
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Updated•6 years ago
|
Status: REOPENED → NEW
Component: Extensions: BMO → API
Assignee | ||
Updated•6 years ago
|
Type: enhancement → defect
Assignee | ||
Updated•6 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 4•6 years ago
|
||
Assignee | ||
Comment 5•6 years ago
|
||
Merged to master.
Status: ASSIGNED → RESOLVED
Closed: 6 years ago → 6 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 6•6 years ago
|
||
This also merged to master.
You need to log in
before you can comment on or make changes to this bug.
Description
•