From 0a11e40275b445fcc959a0dc05f8d73a5a9cbf36 Mon Sep 17 00:00:00 2001 From: Jeff King Date: Mon, 20 Nov 2017 15:27:19 -0500 Subject: [PATCH] t/perf/lib-pack: use fast-import checkpoint to create packs We currently use fast-import only to create a large number of objects, and then run O(n) invocations of pack-objects to turn them into packs. We can do this faster by just asking fast-import to checkpoint and create a pack for each (after telling it not to turn loose tiny packs). Signed-off-by: Jeff King Signed-off-by: Junio C Hamano --- t/perf/lib-pack.sh | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/t/perf/lib-pack.sh b/t/perf/lib-pack.sh index 501bb7b272..d3865db286 100644 --- a/t/perf/lib-pack.sh +++ b/t/perf/lib-pack.sh @@ -9,15 +9,10 @@ create_packs () { print "data <