mirror of
https://github.com/DataDog/go-profiler-notes.git
synced 2026-06-21 00:46:51 +08:00
11 lines
242 B
Bash
Executable file
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"
|