Skip to content

Commit

Permalink
Remove extra logs
Browse files Browse the repository at this point in the history
  • Loading branch information
fxamacker committed Mar 2, 2022
1 parent c919100 commit 1ebde08
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions ledger/complete/checkpoint_benchmark_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,6 @@ func benchmarkNewCheckpointRandomData(b *testing.B, segmentCount int) {
rand.Seed(int64(seed))

dir, err := os.MkdirTemp("", "test-mtrie-")
fmt.Printf("dir %s\n", dir)
defer os.RemoveAll(dir)
if err != nil {
b.Fatal(err)
Expand Down Expand Up @@ -339,12 +338,6 @@ func benchmarkNewCheckpointRandomData(b *testing.B, segmentCount int) {

b.ReportMetric(float64(elapsed/time.Millisecond), "newcheckpoint_rand_time_(ms)")
b.ReportAllocs()

files, _ := os.ReadDir(dir)
for _, fn := range files {
info, _ := fn.Info()
fmt.Printf("%s, %d\n", fn.Name(), info.Size())
}
}

type randKeyValueOptions struct {
Expand Down

0 comments on commit 1ebde08

Please sign in to comment.