mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-25 08:15:15 +00:00
14 lines
275 B
Markdown
14 lines
275 B
Markdown
Profiling
|
|
===================
|
|
|
|
```shell
|
|
dotenv -f .env.local -- go run -tags pprof ./cmd/bbgo run \
|
|
--config ./makemoney-btcusdt.yaml \
|
|
--cpu-profile makemoney.pprof \
|
|
--enable-profile-server
|
|
```
|
|
|
|
```shell
|
|
go tool pprof http://localhost:6060/debug/pprof/heap
|
|
```
|