Closed
Bug 1805842
Opened 3 years ago
Closed 3 years ago
Job transformation relies a lot on expensive deepcopy
Categories
(Taskcluster :: General, task)
Taskcluster
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: sergesanspaille, Assigned: sergesanspaille)
Details
Attachments
(1 file)
copy.deepcopy is a generic way of performing a "deep" copy of an object, and it's used a lot across taskcluster code.
We could make it faster by taking advantage of the tree structure of the jobs (no cycles) to have a more efficient deepcopying routine.
Assignee | ||
Comment 1•3 years ago
|
||
This module defines a single, efficient function to deepcopy a job. It
is faster than deepcopy because it doesn't need to track cycles and
duplicate references that don't make sense for tree (and not graph)
structures.
I measure a speedup > 10% on mach taskgraph tasks --fast >/dev/null.
Updated•3 years ago
|
Attachment #9308459 -
Attachment description: Bug 1805842 - Introduce gecko_taskgraph.util.copyjob → WIP: Bug 1805842 - Introduce gecko_taskgraph.util.copyjob
Updated•3 years ago
|
Attachment #9308459 -
Attachment description: WIP: Bug 1805842 - Introduce gecko_taskgraph.util.copyjob → Bug 1805842 - Introduce gecko_taskgraph.util.copyjob
Updated•3 years ago
|
Attachment #9308459 -
Attachment description: Bug 1805842 - Introduce gecko_taskgraph.util.copyjob → Bug 1805842 - Introduce gecko_taskgraph.util.copy_task
Updated•3 years ago
|
Attachment #9308459 -
Attachment description: Bug 1805842 - Introduce gecko_taskgraph.util.copy_task → Bug 1805842 - Introduce gecko_taskgraph.util.copyjob
Updated•3 years ago
|
Attachment #9308459 -
Attachment description: Bug 1805842 - Introduce gecko_taskgraph.util.copyjob → Bug 1805842 - Introduce gecko_taskgraph.util.copy_task
Pushed by ahalberstadt@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fa2cdac6989a
Introduce gecko_taskgraph.util.copy_task r=taskgraph-reviewers,jlorenzo
![]() |
||
Comment 3•3 years ago
•
|
||
Backed out 4 changesets (Bug 1805842, Bug 1806472, Bug 1806473, Bug 1803537) for causing build bustage on Gecko Decition Task.
Backout link
Push with failures <--> D
Failure Log
Flags: needinfo?(sguelton)
Updated•3 years ago
|
Type: enhancement → task
Updated•3 years ago
|
Attachment #9308459 -
Attachment description: Bug 1805842 - Introduce gecko_taskgraph.util.copy_task → Bug 1805842 - Introduce gecko_taskgraph.util.copy_task r=ahal
Updated•3 years ago
|
Attachment #9308459 -
Attachment description: Bug 1805842 - Introduce gecko_taskgraph.util.copy_task r=ahal → Bug 1805842 - Introduce gecko_taskgraph.util.copy_task r=ahal!
Pushed by sguelton@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5aae8c28c366
Introduce gecko_taskgraph.util.copy_task r=jlorenzo
![]() |
||
Comment 5•3 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•3 years ago
|
Flags: needinfo?(sguelton)
You need to log in
before you can comment on or make changes to this bug.
Description
•