grpcgoogle.golang.org/grpc/benchmark/benchmain

benchmain command

Package main provides benchmark with setting flags.

An example to run some benchmarks with profiling enabled:

go run benchmark/benchmain/main.go -benchtime=10s -workloads=all \
  -compression=on -maxConcurrentCalls=1 -traceMode=false \
  -reqSizeBytes=1,1048576 -respSizeBytes=1,1048576 \
  -latency=0s -kbps=0 -mtu=0 \
  -cpuProfile=cpuProf -memProfile=memProf -memProfileRate=10000
Version
v1.6.0
Published
Aug 30, 2017
Platform
darwin/amd64
Imports
24 packages
Last checked
1 hour ago

Tools for package owners.