Browse Source

p0004: don't abort if multi-threaded is too slow

If the single-threaded variant beats the multi-threaded one then we may
have a performance bug, but that doesn't justify aborting the test.
Drop that check; we can compare the results for --single and --multi
using the actual performance tests.

Signed-off-by: Rene Scharfe <l.s.r@web.de>
Acked-by: Jeff Hostetler <git@jeffhostetler.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
René Scharfe 8 years ago committed by Junio C Hamano
parent
commit
7b0d409eb2
  1. 4
      t/perf/p0004-lazy-init-name-hash.sh

4
t/perf/p0004-lazy-init-name-hash.sh

@ -14,10 +14,6 @@ test_expect_success 'verify both methods build the same hashmaps' ' @@ -14,10 +14,6 @@ test_expect_success 'verify both methods build the same hashmaps' '
test_cmp sorted.single sorted.multi
'

test_expect_success 'multithreaded should be faster' '
test-lazy-init-name-hash --perf >out.perf
'

test_expect_success 'calibrate' '
entries=$(wc -l <out.single) &&


Loading…
Cancel
Save