chore: update profiling doc in CONTRIBUTING.md

Signed-off-by: Evans Mungai <mbuevans@gmail.com>
This commit is contained in:
Evans Mungai 2025-02-17 10:27:11 +00:00 committed by Scott Rigby
parent af2410192d
commit 867c97e70d
No known key found for this signature in database
GPG Key ID: C7C6FBB5B91C1155
1 changed files with 1 additions and 1 deletions

View File

@ -280,7 +280,7 @@ Small, ad-hoc changes/PRs to Helm which introduce user facing changes, which wou
### Profiling PRs
If your contribution requires profiling to check memory and/or CPU usage, you can set `HELM_PPROF_CPU_PROFILE=/path/to/cpu.prof HELM_PPROF_MEM_PROFILE=/path/to/mem.prof helm show all bitnami/nginx` environment variable to collect runtime profiling data for analysis. You can use Golang's [pprof](https://github.com/google/pprof/blob/main/doc/README.md) tool to inspect the results.
If your contribution requires profiling to check memory and/or CPU usage, you can set `HELM_PPROF_CPU_PROFILE=/path/to/cpu.prof` and/or `HELM_PPROF_MEM_PROFILE=/path/to/mem.prof` environment variables to collect runtime profiling data for analysis. You can use Golang's [pprof](https://github.com/google/pprof/blob/main/doc/README.md) tool to inspect the results.
Example analysing collected profiling data
```