From 9ddc6d422d1511b0d861849535afcb286bd1af05 Mon Sep 17 00:00:00 2001 From: zhijian Date: Fri, 1 Nov 2024 11:43:04 +0800 Subject: [PATCH] objbench: remove the final clean stage (#5266) --- cmd/objbench.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cmd/objbench.go b/cmd/objbench.go index 9b12925561f6..36b15946666d 100644 --- a/cmd/objbench.go +++ b/cmd/objbench.go @@ -366,10 +366,6 @@ func objbench(ctx *cli.Context) error { } progress.Done() - for i := bCount; i < bCount*2; i++ { - _ = bm.delete(strconv.Itoa(i), 0) - } - fmt.Printf("Benchmark finished! block-size: %s, big-object-size: %s, small-object-size: %s, small-objects: %d, NumThreads: %d\n", humanize.IBytes(uint64(bSize)), humanize.IBytes(uint64(fsize)), humanize.IBytes(uint64(smallBSize)), sCount, threads)