You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we can get profiling results through API /profile. TiKV will return the file with the extension .svg directly, but go based program such as TiDB and PD will need to use go tool pprof -svg to convert the results to .svg file.
In this case, we need to install go which is too noisy. A possible way to avoid installing go is moving part of code from github.com/google/pprof. Another way is to use driver.PProf, but need to find a way to solve the concurrency problem of output.
Description
Currently, we can get profiling results through API
/profile
. TiKV will return the file with the extension.svg
directly, but go based program such as TiDB and PD will need to usego tool pprof -svg
to convert the results to.svg
file.In this case, we need to install go which is too noisy. A possible way to avoid installing go is moving part of code from
github.com/google/pprof
. Another way is to use driver.PProf, but need to find a way to solve the concurrency problem of output.Score
Mentor
Recommended Skills
Learning Materials
The text was updated successfully, but these errors were encountered: