git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Patch id tests and diff performance optimization
@ 2010-09-19  9:59 Clemens Buchacher
  2010-09-19  9:59 ` [PATCH 1/3] add rebase patch id tests Clemens Buchacher
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Clemens Buchacher @ 2010-09-19  9:59 UTC (permalink / raw)
  To: git; +Cc: gitster

Hi,

I finally came around to de-bashify my patch ID test script. Here we go.

[PATCH 1/3] add rebase patch id tests
[PATCH 2/3] do not search functions for patch ID
[PATCH 3/3] use cache for function names in hunk headers

The first patch adds correctness and (optional) performance tests for the patch
"hash binary sha1 into patch id"
http://thread.gmane.org/gmane.comp.version-control.git/153468/focus=155919 .

The test reveals a performance problem with the search for function names for
the hunk headers. This is fixed for patch ID computation by the second patch
and for diff in general by the third patch.

Clemens
---

 diff.c                     |    2 +-
 t/t3419-rebase-patch-id.sh |  109 ++++++++++++++++++++++++++++++++++++++++++++
 xdiff/xemit.c              |   44 +++++++++++++-----
 3 files changed, 142 insertions(+), 13 deletions(-)

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

end of thread, other threads:[~2010-09-30 18:33 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-19  9:59 Patch id tests and diff performance optimization Clemens Buchacher
2010-09-19  9:59 ` [PATCH 1/3] add rebase patch id tests Clemens Buchacher
2010-09-19  9:59 ` [PATCH 2/3] do not search functions for patch ID Clemens Buchacher
2010-09-19  9:59 ` [PATCH 3/3] use cache for function names in hunk headers Clemens Buchacher
2010-09-19 20:24   ` Sverre Rabbelier
2010-09-20 17:36     ` Clemens Buchacher
2010-09-20 19:15       ` Sverre Rabbelier
2010-09-23  7:04 ` [PATCH 3/3 v2] " Clemens Buchacher
2010-09-26 16:26   ` René Scharfe
2010-09-26 20:43     ` Clemens Buchacher
2010-09-26 22:17       ` René Scharfe
2010-09-27 17:52     ` Junio C Hamano
2010-09-30 18:33     ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).