Search and commands

↑ ↓ to select · Enter to open · Esc to close

Type to search packages.

main

v1.6.0
github.com/ppg/grpc-go/benchmark/benchmain

Documentation

pkg.go.dev ↗
Top ↑

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

Dependency graph