summaryrefslogtreecommitdiff
path: root/git-commit-script
diff options
context:
space:
mode:
authorKristofer Karlsson <krka@spotify.com>2026-07-10 10:36:06 +0000
committerJunio C Hamano <gitster@pobox.com>2026-07-10 08:18:56 -0700
commit13d8160f4922d88aa26eb2eea74cab3fa29848b8 (patch)
tree31bda6252dedc2aadcf7ada684708d4fbb98e12d /git-commit-script
parentf85a7e662054a7b0d9070e432508831afa214b47 (diff)
t/perf: add perf test for ref tombstone scenarios
Add performance tests for update-ref when many tombstones are present in a reftable. The first test exercises the scenario where all refs are deleted (creating tombstones) and then re-created with the same names, which currently exhibits quadratic behavior. The second test uses a separate repository with an asymmetric variant where refs are deleted and then new, differently-named refs are created. When the tombstones sort after the new refs, every create scans all tombstones, making this case even worse than re-creating the same refs. Helped-by: Jeff King <peff@peff.net> Signed-off-by: Kristofer Karlsson <krka@spotify.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-commit-script')
0 files changed, 0 insertions, 0 deletions