diff options
author | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2020-12-19 17:10:29 +0000 |
---|---|---|
committer | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2020-12-19 17:11:03 +0000 |
commit | c2a83d2bfc7a35fcef7c1257ced8259ac8d20d29 (patch) | |
tree | 6f72bb45e34a60c0c2443413aeebcf93dadd7bba /tcwg_kernel-build.sh | |
parent | 43b6a6a9422579ef3491269ef380401b2f1067e8 (diff) |
Optimize testing of interesting commits
It's now taking 1 hour (!) to check all entries in
interesting-commits/linux. This time is spent in --is-ancestor
checks. With the list of interesting commits growing over time
we either need to trim it from time to time, so optimize processing.
This patch does 2 optimizations:
- the obvious optimization to break from loop on first match
- the optimization to quickly check whether commit is inside
the bisict range.
Change-Id: I712e08970a65e26a517571240e2a513878c907bb
Diffstat (limited to 'tcwg_kernel-build.sh')
0 files changed, 0 insertions, 0 deletions