mirror of
https://github.com/go-kratos/kratos.git
synced 2025-01-24 03:46:37 +02:00
bdb51d2696
* feat(examples): add benchmark example * fix examples/benchmark/test.sh * fix: remove go.mod from examples / benchmark
Explain
This example is condensed by go-web-framework-benchmark
Dependent
- wrk https://github.com/wg/wrk
- gnuplot http://www.gnuplot.info/
Run
go build -o gowebbenchmark *.go
./test.sh
./testresults/plot.sh or plot_mac.sh