1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-01-26 03:52:12 +02:00
包子 bdb51d2696
feat(examples): add benchmark example (#1134)
* feat(examples): add benchmark example

* fix examples/benchmark/test.sh

* fix: remove go.mod from examples / benchmark
2021-07-01 09:49:35 +08:00

15 lines
311 B
Markdown

### Explain
This example is condensed by [go-web-framework-benchmark](https://github.com/smallnest/go-web-framework-benchmark)
### Dependent
- wrk https://github.com/wg/wrk
- gnuplot http://www.gnuplot.info/
### Run
```bash
go build -o gowebbenchmark *.go
./test.sh
./testresults/plot.sh or plot_mac.sh
```