yse / easy_profiler

Lightweight profiler library for c++
MIT License
2.14k stars 184 forks source link

Profiling python code using easy_profiler #197

Open yateya opened 2 years ago

yateya commented 2 years ago

Hi,

I am trying to profile some python applications. Is there any port for easy_profiler to be used in python code?

yse commented 2 years ago

Hi! There is not easy_profiler's port for python unfortunately but I think relaunch support for the library with some roadmap. So I want to know some use cases to focus on

Which case do you want to use? Remote connection to start profiling?

pablocael commented 1 year ago

I have a related question. I have a C++ module exported for python using pybind11. Since I dont have control over main() entry point, where would be the best place to call EASY_PROFILER_ENABLE? Can it be called multiple times? I could add this to a constructor of some specific object. Thanks in advance.

changh95 commented 12 months ago

@pablocael

Have the same question!