diff options
author | Elijah Newren <newren@gmail.com> | 2021-07-30 11:47:42 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-07-30 09:01:19 -0700 |
commit | f239fff4c183b231134115bc3b38b4f8e3982d3e (patch) | |
tree | 60cdd7cd6f221cec2efa0130c280f6858c66b28b /t/perf/p5303-many-packs.sh | |
parent | diffcore-rename, merge-ort: add wrapper functions for filepair alloc/dealloc (diff) | |
download | tgif-f239fff4c183b231134115bc3b38b4f8e3982d3e.tar.xz |
merge-ort: store filepairs and filespecs in our mem_pool
For the testcases mentioned in commit 557ac0350d ("merge-ort: begin
performance work; instrument with trace2_region_* calls", 2020-10-28),
this change improves the performance as follows:
Before After
no-renames: 198.1 ms ± 2.6 ms 198.5 ms ± 3.4 ms
mega-renames: 715.8 ms ± 4.0 ms 679.1 ms ± 5.6 ms
just-one-mega: 276.8 ms ± 4.2 ms 271.9 ms ± 2.8 ms
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/perf/p5303-many-packs.sh')
0 files changed, 0 insertions, 0 deletions