add comment (#1464)

This commit is contained in:
ZhouyihaiDing
2017-08-25 13:09:52 -07:00
committed by dfawley
parent 01089b2972
commit 051e7013db

View File

@ -18,6 +18,14 @@
*
*/
/*
Package main provides benchmark with setting flags.
To run a certain benchmark with profile usage, the command is
go run benchmark/benchmain/main.go -kbps=0 -mtu=0 -maxConcurrentCalls=1 \
reqSizeBytes=1,1048576 -reqspSizeBytes=1,1048576 -runUnary=true -runStream=true \
-traceMode=true -compressionMode=true -latency=0s,5ms -timeout=10s \
-cpuProfile=cpuProf -memProfile=memProf -memProfileRate=10000
*/
package main
import (