forked from TrueCloudLab/restic
Correct BenchmarkIndexSave
This commit is contained in:
parent
164ba823e5
commit
dc6a832cc3
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ func BenchmarkIndexSave(b *testing.B) {
|
|||
|
||||
for i := 0; i < 8000; i++ {
|
||||
entries := make([]restic.Blob, 0, 200)
|
||||
for j := 0; j < len(entries); j++ {
|
||||
for j := 0; j < cap(entries); j++ {
|
||||
entries = append(entries, restic.Blob{
|
||||
ID: restic.NewRandomID(),
|
||||
Length: 1000,
|
||||
|
|
Loading…
Reference in a new issue