Closed Bug 1491133 Opened 7 years ago Closed 7 years ago

Optimize Intermittents Commenter

Categories

(Tree Management :: Treeherder, enhancement, P1)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sclements, Assigned: sclements)

Details

Attachments

(1 file)

Ed spent some profiling the Commenter and determined that a large portion of time is spent querying bugzilla individually per bug. These fetches should be batched and queries improved where possible.
Attachment #9009223 - Flags: review?(emorley)
Attachment #9009223 - Flags: feedback?(cdawson)
Attachment #9009223 - Flags: feedback?(cdawson) → review?(cdawson)
Attachment #9009223 - Flags: review?(cdawson) → review+
Comment on attachment 9009223 [details] [review] Link to GitHub pull-request: https://github.com/mozilla/treeherder/pull/4031 Great work, thank you! (Small tweak needed to fix Traivs, but that's it :-))
Attachment #9009223 - Flags: review?(emorley) → review+
Commit pushed to master at https://github.com/mozilla/treeherder https://github.com/mozilla/treeherder/commit/149d01ac1c804b99730d22ea8cedafd556f6edae Bug 1491133 - Optimize intermittents commenter (#4031) Refactor get_bug_stats and alt_bug_stats and optimize queries. Create helper to batch fetch_bug_details queries. Update test.
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Component: Intermittent Failures View → TreeHerder
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: