diff options
author | Patrick Steinhardt <ps@pks.im> | 2020-11-13 09:12:41 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-11-16 13:44:01 -0800 |
commit | 21020430a4a08d2e31c1c6825e53f194569c706c (patch) | |
tree | c15a1981749ca350be5099938a935adb2063d924 /Documentation/git-upload-pack.txt | |
parent | update-ref: allow creation of multiple transactions (diff) | |
download | tgif-21020430a4a08d2e31c1c6825e53f194569c706c.tar.xz |
p1400: use `git-update-ref --stdin` to test multiple transactions
In commit 0a0fbbe3ff (refs: remove lookup cache for
reference-transaction hook, 2020-08-25), a new benchmark was added to
p1400 which has the intention to exercise creation of multiple
transactions in a single process. As git-update-ref wasn't yet able to
create multiple transactions with a single run we instead used git-push.
As its non-atomic version creates a transaction per reference update,
this was the best approximation we could make at that point in time.
Now that `git-update-ref --stdin` supports creation of multiple
transactions, let's convert the benchmark to use that instead. It has
less overhead and it's also a lot clearer what the actual intention is.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Reviewed-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-upload-pack.txt')
0 files changed, 0 insertions, 0 deletions