update readme

This commit is contained in:
David Wertenteil
2022-08-04 14:25:25 +03:00
parent eab0d6650e
commit 1a15ee757b

View File

@@ -153,10 +153,13 @@ curl --header "Content-Type: application/json" \
http://127.0.0.1:8080/v1/scan
```
#### Read process heap
#### Data profiling
Analyze profiled data using [pprof](https://github.com/google/pprof/blob/main/doc/README.md).
[How ro use](https://pkg.go.dev/net/http/pprof)
example:
```bash
curl --request POST http://127.0.0.1:8080/heap -o heap
go tool pprof heap
go tool pprof http://localhost:6060/debug/pprof/heap
```
## Examples