[PATCH v3 0/2] string-list: use ALLOC_GROW macro when reallocing
- From
- git@jeffhostetler.com <git@jeffhostetler.com>
- Date
- Apr 6, 2017, 13:45 UTC
- Message-ID
- <20170406134508.31711-1-git@jeffhostetler.com>
From: Jeff Hostetler <jeffhost@microsoft.com>
Version 3 eliminates unnecessary exports from p0005 perf test (and fixes the mode bits).
================ Use ALLOC_GROW() macro when reallocating a string_list array rather than simply increasing it by 32. This helps performance of status on very large repos on Windows.
Jeff Hostetler (2): string-list: use ALLOC_GROW macro when reallocing string_list p0005-status: time status on very large repo
string-list.c | 5 +---- t/perf/p0005-status.sh | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+), 4 deletions(-) create mode 100755 t/perf/p0005-status.sh
-- 2.9.3