]> Sergey Matveev's repositories - btrtrc.git/blobdiff - storage/test/bench-piece-mark-complete.go
Update to multiple-blobs-per-value squirrel
[btrtrc.git] / storage / test / bench-piece-mark-complete.go
index ac428ac92e9af6911a1f3f5f65a3f54588ac5f37..43390e33f07340bc6ccccba09bc78f8e7e3d1ff0 100644 (file)
@@ -18,6 +18,8 @@ const (
        DefaultNumPieces = 16
 )
 
+// This writes chunks to the storage concurrently, and waits for them all to complete. This matches
+// the behaviour from the peer connection read loop.
 func BenchmarkPieceMarkComplete(
        b *testing.B, ci storage.ClientImpl,
        pieceSize int64, numPieces int,