kubo/profile
Gus Eggert bb68a68525
feat: port collect-profiles.sh to 'ipfs diag profile' (#8786)
* feat: add block profiling to collect-profiles.sh

* feat: add more profiles to 'ipfs diag profile'

This adds mutex and block profiles, and brings the command up-to-par
with 'collect-profiles.sh', so that we can remove it.

Profiles are also now collected concurrently, which improves the
runtime from (profile_time * num_profiles) to just (profile_time).

Note that this has a backwards-incompatible change, removing
--cpu-profile-time in favor of the more general --profile-time, which
covers all sampling profiles.

* docs(cli): ipfs diag profile

* add CLI flag to select specific diag collectors

Co-authored-by: Marcin Rataj <lidel@lidel.org>
2022-04-12 11:58:03 -04:00
..
goroutines.go feat: port collect-profiles.sh to 'ipfs diag profile' (#8786) 2022-04-12 11:58:03 -04:00
profile_test.go feat: port collect-profiles.sh to 'ipfs diag profile' (#8786) 2022-04-12 11:58:03 -04:00
profile.go feat: port collect-profiles.sh to 'ipfs diag profile' (#8786) 2022-04-12 11:58:03 -04:00