mirror of https://github.com/tidwall/evio.git
27 lines
624 B
Markdown
27 lines
624 B
Markdown
## evio benchmark tools
|
|
|
|
Required tools:
|
|
|
|
- [wrk](https://github.com/wg/wrk) for HTTP
|
|
- [tcpkali](https://github.com/machinezone/tcpkali) for Echo
|
|
- [Redis](http://redis.io) for Redis
|
|
|
|
Required Go packages:
|
|
|
|
```
|
|
go get gonum.org/v1/plot/...
|
|
go get -u github.com/valyala/fasthttp
|
|
go get -u github.com/kataras/iris
|
|
go get -u github.com/tidwall/redcon
|
|
```
|
|
|
|
And of course [Go](https://golang.org) is required.
|
|
|
|
Run `bench.sh` for all benchmarks.
|
|
|
|
## Notes
|
|
|
|
- The current results were run on an Ec2 c4.xlarge instance.
|
|
- The servers started in single-threaded mode (GOMAXPROC=1).
|
|
- Network clients connected over Ipv4 localhost.
|