You've already forked go-profiler-notes
mirror of
https://github.com/DataDog/go-profiler-notes.git
synced 2025-07-12 23:50:13 +02:00
22 lines
455 B
Bash
Executable File
22 lines
455 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 \
|
|
#-bufsizes 0 \
|
|
#-depths 16 \
|
|
#> "block_$(os_arch).csv"
|
|
|
|
go run . \
|
|
-workloads chan \
|
|
-ops 100000 \
|
|
-blockprofilerates 0,1,10,100,1000,10000,100000,1000000 \
|
|
-bufsizes 128 \
|
|
-runs 20 \
|
|
-depths 16 \
|
|
> "block_bufchan_$(os_arch).csv"
|