mirror of
https://github.com/langhuihui/monibuca.git
synced 2025-12-24 13:48:04 +08:00
feat: add pprof
This commit is contained in:
10
plugin/debug/pkg/internal/report/testdata/README.md
vendored
Normal file
10
plugin/debug/pkg/internal/report/testdata/README.md
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
sample/ contains a sample program that can be profiled.
|
||||
sample.bin is its x86-64 binary.
|
||||
sample.cpu is a profile generated by sample.bin.
|
||||
|
||||
To update the binary and profile:
|
||||
|
||||
```shell
|
||||
go build -o sample.bin ./sample
|
||||
./sample.bin -cpuprofile sample.cpu
|
||||
```
|
||||
Reference in New Issue
Block a user