Skip to content

Commit 20c6777

Browse files
committed
fixup! ci: replace workflow set with mimalloc benchmark
Assisted-by: Claude Opus 4.7 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent b0dcb22 commit 20c6777

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/main.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,19 @@ jobs:
6161
*) cp git _bench/mimalloc/git ;;
6262
esac
6363
64-
- name: prepare benchmark repo (linux.git subset reachable from 93a6fefe2f)
64+
- name: prepare benchmark repo (linux.git subset reachable from v3.0)
6565
shell: bash
6666
run: |
6767
if [ "$RUNNER_OS" = Windows ]; then . /etc/profile; fi
68-
SHA=93a6fefe2f6fc380870c0985b246bec7f37a06f7
68+
# `linux v3.0` (released 2011-07-22): 255,039 commits, 2.06M
69+
# objects, ~788 MB on disk. Roughly 5x the commit count of the
70+
# 2007-era anchor used by 6a29c2dfecc; tuned so a single
71+
# `repack -adfq` run lands in the ~2 minute ballpark, where
72+
# allocator differences (if any) are most clearly visible.
73+
SHA=02f8c6aee8df3cdc935e9bdd4f2d020306035dbe
6974
git init --bare _bench/template.git
7075
git -C _bench/template.git remote add origin https://github.com/torvalds/linux
71-
git -C _bench/template.git fetch --no-tags --depth=50000 origin "$SHA"
76+
git -C _bench/template.git fetch --no-tags --depth=300000 origin "$SHA"
7277
git -C _bench/template.git update-ref refs/heads/master "$SHA"
7378
git -C _bench/template.git reflog expire --all --expire=now
7479
git -C _bench/template.git gc --prune=now

0 commit comments

Comments
 (0)