NVIDIA / NVIDIA/cuda-python

Investigate `gh-pages` impact on full clone size and time

Ouverte
#2,197 13 commentaires 0 réactions 1 personne assignée Voir sur GitHub

@jpascucci-nv y travaille déjà.

Depuis le 11/9/2026.

P1
Langage dominant
Cython
Étoiles
3.4k
Forks
329
Merge moyen
1 j 23 h
PR mergées (30 j)
116

Description

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: .git size about 1.2G
  • Without gh-pages: .git size 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.

Guide de contribution

Ouvrir le guide de contribution

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.