Josiah Kiehl
|
82130f468a
|
Speed up presubmit by caching code-owners check
Currently, presubmit queries the gerrit server every run to check if the
code-owners plugin is enabled.
This CL caches that result in a /tmp file per repository.
This saves as much as 1.5s per `git cl presubmit`.
Change-Id: I1a3631074d1bcbb1a254caa6654fd8434f069aa2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/7227749
Commit-Queue: Josiah Kiehl <kiehl@google.com>
Reviewed-by: Yiwei Zhang <yiwzhang@google.com>
|
2025-12-09 10:50:31 -08:00 |
|