go-profiler-notes/bench/run.sh
Felix Geisendörfer 50fb7ed6be Add bench dir
2021-02-03 11:16:38 +01:00

11 lines
242 B
Bash
Executable file

os_arch() {
echo "$(uname | tr '[:upper:]' '[:lower:]')_$(uname -m)"
}
go run . \
-workloads mutex,chan \
-ops 100000 \
-blockprofilerates 0,1,10,100,1000,10000,100000,1000000 \
-runs 20 \
-depths 16 \
> "block_$(os_arch).csv"