mirror of
https://github.com/restic/restic.git
synced 2025-08-14 04:27:42 +00:00
archiver: correct benchmark
This commit is contained in:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user