blockservice/worker/bench/main: Add a package comment
W. Trevor King committed
Apr 30, 2015 at 21:33 UTC
beb3bab2054c8d6119bf2d7df4feeb26beb20e5b
1 file changed
+9
blockservice/worker/bench/main.go
+9
@@ -1,3 +1,12 @@
1
+/*
2
+Benchmark github.com/ipfs/go-ipfs/blockservice/worker.
3
+
4
+Loop over a range of workers and buffer sizes and measure the time it
5
+per block-transfer operation for each value. Run with:
6
+
7
+ $ go run "${GOPATH}/src/github.com/ipfs/go-ipfs/blockservice/worker/bench/main.go"
8
+*/
9
+
10
package main
11
12
import (