go websocket server testing
- go
- nodejs
npm install pm2 -g
go install github.com/lxzan/wsbench@latest
export PATH=$PATH:$GOPATH/bin
make build
pm2 start ./bin/*
cd frontend
npm install
pm2 start index.js --watch
sh bench.sh
测试程序退出后, 访问 http://localhost:8080