Commit cdf119d
committed
mingw: use mimalloc
Thorough benchmarking with repacking a subset of linux.git (the commit
history reachable from 93a6fef ([PATCH] fix the SYSCTL=n compilation,
2007-02-28), to be precise) suggest that this allocator is on par, in
multi-threaded situations maybe even better than nedmalloc:
`git repack -adfq` with mimalloc, 8 threads:
31.166991900 27.576763800 28.712311000 27.373859000 27.163141900
`git repack -adfq` with nedmalloc, 8 threads:
31.915032900 27.149883100 28.244933700 27.240188800 28.580849500
While these measurements were not executed with complete scientific
rigor, as no hardware was dedicated to this benchmarking, it shows that
mimalloc and nedmalloc perform almost the same, nedmalloc with a bit
higher variance and also slightly higher average (further testing
suggests that nedmalloc performs worse in multi-threaded situations than
in single-threaded ones).
In short: mimalloc seems to be slightly better suited for our purposes
than nedmalloc.
Seeing that mimalloc is developed actively, while nedmalloc ceased to
see any updates already years ago, let's use mimalloc on Windows
instead.
Signed-off-by: Johannes Schindelin <[email protected]>1 parent a03faa1 commit cdf119d
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
656 | 656 | | |
657 | 657 | | |
658 | 658 | | |
659 | | - | |
| 659 | + | |
660 | 660 | | |
661 | 661 | | |
662 | 662 | | |
| |||
724 | 724 | | |
725 | 725 | | |
726 | 726 | | |
727 | | - | |
728 | 727 | | |
729 | 728 | | |
730 | 729 | | |
| |||
0 commit comments