All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] line-log: avoid unnecessary full tree diffs
@ 2019-08-21 11:04 SZEDER Gábor
  2019-08-21 11:04 ` [PATCH 1/2] line-log: extract pathspec parsing from line ranges into a helper function SZEDER Gábor
  2019-08-21 11:04 ` [PATCH 2/2] line-log: avoid unnecessary full tree diffs SZEDER Gábor
  0 siblings, 2 replies; 13+ messages in thread
From: SZEDER Gábor @ 2019-08-21 11:04 UTC (permalink / raw)
  To: git; +Cc: Junio C Hamano, Thomas Rast, Derrick Stolee, SZEDER Gábor

Line-level log can be very slow with rename detection enabled (and its
enabled by default), which is caused by it using the diff machinery
very inefficiently.  The second patch fixes the issue and make it much
faster, especially in large repositories.

This patch series is independent from my other patch series making
line-level log incremental [1].  The two can be merged easily, as the
changes to 'line-log.c' don't overlap, and the conflict in
't4211-line-log.sh' is trivial (both series add new tests at the end
of that test script).


[1] https://public-inbox.org/git/6a576e13-79e6-43be-c4a8-065e7a8310ea@gmail.com/T/

SZEDER Gábor (2):
  line-log: extract pathspec parsing from line ranges into a helper
    function
  line-log: avoid unnecessary full tree diffs

 line-log.c          | 71 ++++++++++++++++++++++++++++-----------
 t/t4211-line-log.sh | 82 +++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 134 insertions(+), 19 deletions(-)

-- 
2.23.0.352.gebb2b55eae


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2019-08-23 10:04 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-21 11:04 [PATCH 0/2] line-log: avoid unnecessary full tree diffs SZEDER Gábor
2019-08-21 11:04 ` [PATCH 1/2] line-log: extract pathspec parsing from line ranges into a helper function SZEDER Gábor
2019-08-21 11:04 ` [PATCH 2/2] line-log: avoid unnecessary full tree diffs SZEDER Gábor
2019-08-21 15:53   ` Derrick Stolee
2019-08-21 17:35     ` SZEDER Gábor
2019-08-21 18:12       ` Derrick Stolee
2019-08-22  8:41       ` SZEDER Gábor
2019-08-22 14:53         ` Derrick Stolee
2019-08-22 16:01         ` Junio C Hamano
2019-08-22 16:26           ` SZEDER Gábor
2019-08-22 16:51             ` Derrick Stolee
2019-08-23 10:04         ` SZEDER Gábor
2019-08-21 17:29   ` Junio C Hamano

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.