Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
panjf2000 committed Sep 23, 2019
1 parent f20d09e commit d67d3a3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bench-echo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function gobench {
sleep 1
echo "*** 100 connections, 10 seconds, 6 byte packets"
nl=$'\r\n'
tcpkali --workers 1 -c 100 -T 10s -m "PING{$nl}" 127.0.0.1:$4
tcpkali --workers 8 -c 100 -T 10s -m "PING{$nl}" 127.0.0.1:$4
echo "--- DONE ---"
echo ""
}
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/kavu/go_reuseport v1.4.0 // indirect
github.com/kr/pretty v0.1.0 // indirect
github.com/panjf2000/gnet v0.1.2-0.20190923074112-dd00ef7a6565
github.com/panjf2000/gnet v0.1.2-0.20190923142336-7e1c5cd793cc
github.com/stretchr/testify v1.4.0 // indirect
github.com/tidwall/evio v1.0.2
github.com/valyala/fasthttp v1.5.0
Expand Down
4 changes: 4 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ github.com/panjf2000/gnet v0.1.2-0.20190923055958-539119e5a823 h1:MuNOi3GEQEo0bP
github.com/panjf2000/gnet v0.1.2-0.20190923055958-539119e5a823/go.mod h1:N251s4H0wuPrB0ssD/D4ZQYOFJKZOwYxqIejzAodQqc=
github.com/panjf2000/gnet v0.1.2-0.20190923074112-dd00ef7a6565 h1:oL3OBbtarxgvszkvmEL7JPhmEc+PIfb428eHKC6QAHE=
github.com/panjf2000/gnet v0.1.2-0.20190923074112-dd00ef7a6565/go.mod h1:N251s4H0wuPrB0ssD/D4ZQYOFJKZOwYxqIejzAodQqc=
github.com/panjf2000/gnet v0.1.2-0.20190923140041-a254cff44a28 h1:WkC/eQUpdLZ4SK7J+Kj6+WEyPCm10JJNsgRPO2xYcgI=
github.com/panjf2000/gnet v0.1.2-0.20190923140041-a254cff44a28/go.mod h1:N251s4H0wuPrB0ssD/D4ZQYOFJKZOwYxqIejzAodQqc=
github.com/panjf2000/gnet v0.1.2-0.20190923142336-7e1c5cd793cc h1:VhaPXdBV3KyjcGKAvG/rwBt2DJ9uLDE4rZw+9EgZe8U=
github.com/panjf2000/gnet v0.1.2-0.20190923142336-7e1c5cd793cc/go.mod h1:N251s4H0wuPrB0ssD/D4ZQYOFJKZOwYxqIejzAodQqc=
github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I=
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
Expand Down

0 comments on commit d67d3a3

Please sign in to comment.