Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: workflow clone OI-wiki repo depth 1 #68

Merged
merged 4 commits into from
Feb 14, 2024

Conversation

opsiff
Copy link
Contributor

@opsiff opsiff commented Feb 14, 2024

help to make clone OI-wiki repo fast,and less temp storage.

some perf data:
du -sh *
80M depth=1
137M full
full:
remote: Enumerating objects: 64556, done.
remote: Counting objects: 100% (1046/1046), done.
remote: Compressing objects: 100% (148/148), done.
remote: Total 64556 (delta 483), reused 989 (delta 461), pack-reused 63510
接收对象中: 100% (64556/64556), 86.66 MiB | 19.96 MiB/s, 完成.
处理 delta 中: 100% (47016/47016), 完成.
正在更新文件: 100% (2189/2189), 完成.

real 0m8.226s
user 0m3.234s
sys 0m2.344s
depth=1:
remote: Enumerating objects: 2546, done.
remote: Counting objects: 100% (2546/2546), done.
remote: Compressing objects: 100% (1817/1817), done.
remote: Total 2546 (delta 347), reused 1806 (delta 341), pack-reused 0
接收对象中: 100% (2546/2546), 31.35 MiB | 16.27 MiB/s, 完成.
处理 delta 中: 100% (347/347), 完成.
正在更新文件: 100% (2189/2189), 完成.

real 0m5.877s
user 0m0.609s
sys 0m1.625s

Copy link
Member

@Enter-tainer Enter-tainer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thx

@Enter-tainer Enter-tainer merged commit ea402f6 into OI-wiki:master Feb 14, 2024
2 checks passed
@opsiff opsiff deleted the patch-1 branch February 15, 2024 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants