Closed Bug 1155664 Opened 9 years ago Closed 9 years ago

buildbotcustom code cleanup

Categories

(Release Engineering :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: catlee, Assigned: catlee)

Details

Attachments

(1 file, 1 obsolete file)

Attached patch cleanup-buildbotcustom.diff (obsolete) — Splinter Review
Based on recent coverage data, we can rip out this old code.

Also, I found that we were spending a ton of time in deepcopy() calls. The patch moves what parts of the test builder config that we're copying. This cuts my checkconfig time nearly in half, and reduces memory usage by about 10%.
Attachment #8593963 - Flags: review?(bhearsum)
Comment on attachment 8593963 [details] [diff] [review]
cleanup-buildbotcustom.diff

Review of attachment 8593963 [details] [diff] [review]:
-----------------------------------------------------------------

as said in IRC the deepcopy removal concerns me, just in terms of "making footguns easier to fire", but I'm not convinced we should optimize around our own footguns.

f+ until I have time to think harder, or someone else r+'s
Attachment #8593963 - Flags: feedback+
basically the same thing, but adds some asserts that we're not hitting old code paths, nor duplicating arguments.
Attachment #8593963 - Attachment is obsolete: true
Attachment #8593963 - Flags: review?(bhearsum)
Attachment #8594238 - Flags: review?
Attachment #8594238 - Flags: review? → review+
Attachment #8594238 - Flags: checked-in+
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Component: General Automation → General
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: