Bug 243731
Summary: | webkitscmpy/program/branch.py:116 (branch_point) is slow with many commits | ||
---|---|---|---|
Product: | WebKit | Reporter: | Sam Sneddon [:gsnedders] <gsnedders> |
Component: | Tools / Tests | Assignee: | Sam Sneddon [:gsnedders] <gsnedders> |
Status: | NEW | ||
Severity: | Normal | CC: | jbedard, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Sam Sneddon [:gsnedders]
This walks through each ancestor, finding the branches for each (which is itself slow, taking around 3s per branch locally, as `git branch -a --contains refish` has to walk each and every ref, but less obvious how to speed up).
We can often make a conservative first guess, which means we can then bisect the ancestors to find the appropriate branch point.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Sam Sneddon [:gsnedders]
Pull request: https://github.com/WebKit/WebKit/pull/3149
Radar WebKit Bug Importer
<rdar://problem/98729282>