mirror of
https://github.com/octoleo/restic.git
synced 2024-12-24 20:00:21 +00:00
Correct BenchmarkIndexSave
This commit is contained in:
parent
164ba823e5
commit
dc6a832cc3
@ -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 New Issue
Block a user