Skip to content

Commit 7b0d409

Browse files
rscharfegitster
authored andcommitted
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 <[email protected]> Acked-by: Jeff Hostetler <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 48a6ace commit 7b0d409

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@ test_expect_success 'verify both methods build the same hashmaps' '
1414
test_cmp sorted.single sorted.multi
1515
'
1616

17-
test_expect_success 'multithreaded should be faster' '
18-
test-lazy-init-name-hash --perf >out.perf
19-
'
20-
2117
test_expect_success 'calibrate' '
2218
entries=$(wc -l <out.single) &&
2319

0 commit comments

Comments
 (0)