All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] t/helper/test-tool: implement 'sha1-unsafe' helper
@ 2024-10-11 18:37 Taylor Blau
  2024-10-11 18:37 ` [PATCH 1/2] t/helper/test-sha1: prepare for an unsafe mode Taylor Blau
  2024-10-11 18:37 ` [PATCH 2/2] t/helper/test-tool: implement sha1-unsafe helper Taylor Blau
  0 siblings, 2 replies; 3+ messages in thread
From: Taylor Blau @ 2024-10-11 18:37 UTC (permalink / raw)
  To: git; +Cc: Elijah Newren, Jeff King, Junio C Hamano, brian m. carlson

This series implements a new 'sha1-unsafe' test helper, similar to
't/helper/test-tool sha1'.

I have found such a helper to be really handy when debugging the new
SHA1_UNSAFE build knobs, e.g., to easily compare the performance of the
safe versus unsafe routines, different unsafe variants, etc.

Taylor Blau (2):
  t/helper/test-sha1: prepare for an unsafe mode
  t/helper/test-tool: implement sha1-unsafe helper

 t/helper/test-hash.c   | 17 +++++++++++++----
 t/helper/test-sha1.c   |  7 ++++++-
 t/helper/test-sha1.sh  | 38 ++++++++++++++++++++++----------------
 t/helper/test-sha256.c |  2 +-
 t/helper/test-tool.c   |  1 +
 t/helper/test-tool.h   |  3 ++-
 6 files changed, 45 insertions(+), 23 deletions(-)


base-commit: 777489f9e09c8d0dd6b12f9d90de6376330577a2
-- 
2.47.0.2.gd343f5dc9e5

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

end of thread, other threads:[~2024-10-11 18:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-11 18:37 [PATCH 0/2] t/helper/test-tool: implement 'sha1-unsafe' helper Taylor Blau
2024-10-11 18:37 ` [PATCH 1/2] t/helper/test-sha1: prepare for an unsafe mode Taylor Blau
2024-10-11 18:37 ` [PATCH 2/2] t/helper/test-tool: implement sha1-unsafe helper Taylor Blau

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.