Website: document how to run the Flamenco Manager profiler

It's basic, but at least it saves me from finding the info again.
This commit is contained in:
Sybren A. Stüvel 2024-09-30 18:03:15 +02:00
parent 29a0c596cc
commit f1afae47d4

View File

@ -0,0 +1,11 @@
---
title: Profiling Flamenco Manager
weight: 50
---
Flamenco Manager has built-in profiling support. To get a call graph with timing information, follow these steps:
1. Run `flamenco-manager -pprof` to enable its profiler HTTP endpoint.
2. Run `go tool pprof -http localhost:8082 'http://localhost:8080/debug/pprof/profile?seconds=60'`.
3. Do whatever you want to profile with Flamenco.
4. The tool will open a browser to show the call graph when it's done gathering the info.