You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This change updates all the modules used by gclient to use `scm.GIT` for git config calls over directly invoking the subprocess. This change currently doesn't modify git_cache since the config reads and writes within it are done on bare repository. A follow-up CL will update git_cache. A follow-up CL will also update git_cl and git_map_branches since they have shown performance improvements too: https://crrev.com/c/4697786. Benchmarking ============ With chromium/src as the baseline super project, this change reduces about 380 git config calls out of 507 total calls on cache hits during no-op. The below numbers are benchmarked with `update_depot_tools` turned off. Windows Benchmark ================= Baseline (gpaste/6360045736951808): ~1min 12 sec. With Caching (gpaste/6480065209040896): ~1min 3sec. ~12.5% decrease in gclient sync noop runtime. Linux Benchmark =============== Baseline (gpaste/4730436763254784): ~3.739 sec. With Caching (gpaste/4849870978940928): ~3.534 sec. ~5.5% decrease in gclient sync noop runtime. Bug: 1501984 Change-Id: Ib48df2d26a0c742a9b555a1e2ed6366221c7db17 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5252498 Commit-Queue: Aravind Vasudevan <aravindvasudev@google.com> Reviewed-by: Josip Sokcevic <sokcevic@chromium.org> |
1 year ago | |
---|---|---|
.. | ||
gstools | ||
OWNERS | 2 years ago | |
auth_test.py | 2 years ago | |
autoninja_test.py | 1 year ago | |
bazel_test.py | 2 years ago | |
bot_update_coverage_test.py | 1 year ago | |
cipd_bootstrap_test.py | 1 year ago | |
detect_host_arch_test.py | 1 year ago | |
download_from_google_storage_unittest.py | 2 years ago | |
fetch_test.py | 1 year ago | |
gclient_cipd_smoketest.py | 2 years ago | |
gclient_eval_unittest.py | 1 year ago | |
gclient_git_mutates_smoketest.py | 2 years ago | |
gclient_git_smoketest.py | 1 year ago | |
gclient_no_sync_smoketest.py | 2 years ago | |
gclient_paths_test.py | 2 years ago | |
gclient_scm_test.py | 1 year ago | |
gclient_smoketest.py | 2 years ago | |
gclient_smoketest_base.py | 1 year ago | |
gclient_test.py | 1 year ago | |
gclient_transitions_smoketest.py | 1 year ago | |
gclient_utils_test.py | 2 years ago | |
gerrit_client_test.py | 2 years ago | |
gerrit_util_test.py | 1 year ago | |
git_cache_test.py | 1 year ago | |
git_cl_creds_check_report.txt | 2 years ago | |
git_cl_test.py | 1 year ago | |
git_common_test.py | 1 year ago | |
git_dates_test.py | 2 years ago | |
git_find_releases_test.py | 2 years ago | |
git_footers_test.py | 2 years ago | |
git_hyper_blame_test.py | 1 year ago | |
git_map_test.py | 2 years ago | |
git_migrate_default_branch_test.py | 2 years ago | |
git_number_test.py | 2 years ago | |
git_rebase_update_test.py | 2 years ago | |
gsutil_test.py | 1 year ago | |
hooks_test.py | 2 years ago | |
lockfile_test.py | 2 years ago | |
metrics_test.py | 2 years ago | |
my_activity_test.py | 2 years ago | |
ninja_reclient_test.py | 1 year ago | |
ninjalog_uploader_test.py | 1 year ago | |
owners_client_test.py | 2 years ago | |
owners_finder_test.py | 2 years ago | |
presubmit_canned_checks_test.py | 1 year ago | |
presubmit_support_test.py | 1 year ago | |
presubmit_unittest.py | 1 year ago | |
rdb_wrapper_test.py | 2 years ago | |
recipes_test.py | 2 years ago | |
reclient_metrics_test.py | 2 years ago | |
roll_dep_test.py | 2 years ago | |
scm_unittest.py | 1 year ago | |
split_cl_test.py | 2 years ago | |
subcommand_test.py | 2 years ago | |
subprocess2_test.py | 1 year ago | |
upload_to_google_storage_unittest.py | 2 years ago | |
utils_test.py | 2 years ago | |
watchlists_unittest.py | 2 years ago |