Investigate `gh-pages` impact on full clone size and time
@jpascucci-nv 已经在做这个了。
开始于 2026年9月11日。
评估
这个 Issue 还没有评估数据。
描述
Description
A local controlled file:// clone experiment suggests that gh-pages is substantially inflating normal full-clone cost for NVIDIA/cuda-python.
Measured clone times:
- With
gh-pages: 47.44 seconds - Without
gh-pages: 1.79 seconds
Measured size estimates from the same experiment:
- With
gh-pages:.gitsize about 1.2G - Without
gh-pages:.gitsize about 38M - Estimated reduction: about 1.19 GB by filesystem size, or about 1.17 GB by Git object disk-usage accounting
Full measurement details and evidence are in:
For initial solution exploration, start from:
Additional real-world measurements from two NVIDIA-internal wired-network machines (see comments below for details):
| Machine | Clone mode | Elapsed time | Received | .git size |
Git pack size | Packed objects |
|---|---|---|---|---|---|---|
smc120-0009 |
normal full clone | 122.85 s | 1.25 GiB | 1.3G | 1.27 GiB | 692,924 |
smc120-0009 |
--single-branch --branch main |
5.77 s | 36.11 MiB | 38M | 36.66 MiB | 20,389 |
smc120-0009 |
--depth 1 --branch main |
2.46 s | 2.66 MiB | 3.0M | 2.68 MiB | 903 |
| Dell Precision 7875 | normal full clone | 92.60 s | 1.25 GiB | 1.3G | 1.27 GiB | 692,924 |
| Dell Precision 7875 | --single-branch --branch main |
4.55 s | 36.17 MiB | 38M | 36.72 MiB | 20,389 |
| Dell Precision 7875 | --depth 1 --branch main |
2.11 s | 2.66 MiB | 3.0M | 2.68 MiB | 903 |
In both runs, the normal clone fetched about 693k packed objects and 1.25 GiB, while the single-branch main clone fetched about 20k objects and 36 MiB.
- 主要语言
- Cython
- 星标
- 3.4k
- 派生
- 329
- 平均合并
- 1 天 21 小时
- 30 天内合并 PR
- 113
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
NVIDIA/cuda-python 的其他 Issue
-
bug cuda.core
难度 2/5 1-3 小时 新手友好度 76/100
NVIDIA/cuda-python#2886 · 1 条评论 ·
-
triage
难度 1/5 1 小时以内 新手友好度 88/100
NVIDIA/cuda-python#2717 ·
-
triage
难度 1/5 1-3 小时 新手友好度 90/100
NVIDIA/cuda-python#2712 ·
-
triage
难度 2/5 1-3 小时 新手友好度 82/100
NVIDIA/cuda-python#2646 · 1 个 reaction ·
-
cuda.core triage
难度 2/5 1-3 小时 新手友好度 62/100
NVIDIA/cuda-python#2435 · 1 条评论 ·