google / tcmalloc

Apache License 2.0
4.41k stars 480 forks source link

what's difference with gperftools? #248

Closed xiedeacc closed 3 months ago

xiedeacc commented 3 months ago

can link tcmalloc use this repo, and use gperftools to cpu and heap perf?

ckennelly commented 3 months ago

what's the difference with gperftools

https://google.github.io/tcmalloc/gperftools

can link tcmalloc use this repo, and use gperftools to cpu and heap perf?

No. This has its own heap profiling.

xiedeacc commented 3 months ago

what's the difference with gperftools

https://google.github.io/tcmalloc/gperftools

can link tcmalloc use this repo, and use gperftools to cpu and heap perf?

No. This has its own heap profiling.

I see, heap profiling should use google/tcmalloc, how about cpu profiling?