mirror of
https://github.com/go-kratos/kratos.git
synced 2025-01-26 03:52:12 +02:00
bdb51d2696
* feat(examples): add benchmark example * fix examples/benchmark/test.sh * fix: remove go.mod from examples / benchmark
15 lines
311 B
Markdown
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
|
|
```
|