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

Use git gc to reduce disk usage #283

Merged
merged 1 commit into from
Jul 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions continuous_reporting/gh_tasks/commit_benchmark_data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,6 @@ git add raw_benchmark_data
git commit -m "`uname -p` benchmark results" || echo "Commit is empty?"
git push

git gc

echo "Committed and pushed benchmark data successfully."
4 changes: 4 additions & 0 deletions continuous_reporting/gh_tasks/git_update_yjit_metrics_repo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,7 @@ git fetch current_repo
git clean -ffdx
git restore -SW .
git checkout current_repo/$YJIT_METRICS_NAME

# All this ref switching can leave cruft in the git database.
# Clean it to keep disk space under control.
git gc
Loading