good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit 19430204 authored by Anmol Sethi's avatar Anmol Sethi
Browse files

Improve benchmark code

parent 0e8d46d0
No related branches found
No related tags found
No related merge requests found
......@@ -85,14 +85,14 @@ func benchConn(b *testing.B, stream bool) {
})
}
// runN(32)
// runN(128)
// runN(512)
// runN(1024)
runN(32)
runN(128)
runN(512)
runN(1024)
runN(4096)
runN(16384)
// runN(65536)
// runN(131072)
runN(65536)
runN(131072)
c.Close(websocket.StatusNormalClosure, "")
})
......
......@@ -5,9 +5,11 @@ source ci/lib.sh || exit 1
mkdir -p profs
set +x
echo
echo "this step includes benchmarks for race detection and coverage purposes
but the numbers will be misleading. please see the bench step for more
accurate numbers"
echo
set -x
go test -race -coverprofile=profs/coverage --vet=off -bench=. ./...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment