forked from TrueCloudLab/restic
archiver: correct benchmark
This commit is contained in:
parent
0662c14fee
commit
d753a5ffa3
1 changed files with 3 additions and 1 deletions
|
@ -142,7 +142,9 @@ func BenchmarkArchiveDirectory(b *testing.B) {
|
||||||
b.Skip("benchdir not set, skipping BenchmarkArchiveDirectory")
|
b.Skip("benchdir not set, skipping BenchmarkArchiveDirectory")
|
||||||
}
|
}
|
||||||
|
|
||||||
archiveDirectory(b)
|
for i := 0; i < b.N; i++ {
|
||||||
|
archiveDirectory(b)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func archiveWithDedup(t testing.TB) {
|
func archiveWithDedup(t testing.TB) {
|
||||||
|
|
Loading…
Reference in a new issue