14 lines
332 B
Bash
Executable File
14 lines
332 B
Bash
Executable File
#!/bin/bash
|
|
|
|
#FILE=short.toml
|
|
FILE=normal.toml
|
|
#FILE=long.toml
|
|
ITER=10000
|
|
|
|
cd ../cmd/burntsushi-tester
|
|
go build
|
|
cd ../../parse2
|
|
ppfile=`cat $FILE | ../cmd/burntsushi-tester/burntsushi-tester -p $ITER 2>&1 | grep "profiling enabled" | cut -d, -f2`
|
|
go tool pprof -http 0.0.0.0:8888 ../cmd/burntsushi-tester/burntsushi-tester $ppfile
|
|
|