Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The performance test results are inconclusive (see https://github.com/dscho/git/actions/runs/2857346255): the standard deviation between the runs with a specific allocator seems to be larger than the difference between the allocators: M M2 D N run #1 624.65 638.37 669.96 650.83 run #2 648.46 653.38 655.63 650.52 run #3 643.72 634.63 647.15 650.88 run #4 661.46 657.36 666.27 664.79 run #5 661.02 669.21 666.06 678.14 where M is running with mimalloc, M2 also mimalloc but setting MIMALLOC_RESET_DELAY=1, MIMALLOC_EAGER_COMMIT=0 and MIMALLOC_RESET_DECOMMITS=1, D using the default allocator and N using nedmalloc This is when compiling with gcc. With MSVC, the numbers are consistently larger: M M2 D N run #1 909.93 929.10 869.86 875.60 run #2 842.44 874.36 882.67 882.79 run #3 879.07 858.80 866.01 871.63 run #4 870.59 876.81 900.35 889.55 run #5 891.71 888.66 897.45 891.81 The difference between gcc and MSVC is actually a lot larger than the difference between allocators! The best conclusion I can draw is that the `git repack -q -d -l -A` invocation does not actually exercise the allocators enough. Let's try something different. Signed-off-by: Johannes Schindelin <[email protected]>
- Loading branch information