Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python support #2

Closed
brancz opened this issue Jul 9, 2021 · 3 comments
Closed

Python support #2

brancz opened this issue Jul 9, 2021 · 3 comments
Assignees
Labels
enhancement New feature or request feature/language-support This feature describes support for a new language/runtime.

Comments

@brancz
Copy link
Member

brancz commented Jul 9, 2021

Prior art: https://github.com/benfred/py-spy#how-does-py-spy-work
Notes on native stacks (this would also be how we could add kernel space stacks): https://www.benfrederickson.com/profiling-native-python-extensions-with-py-spy/

To generate C bindings: https://github.com/xlab/c-for-go

@brancz brancz added enhancement New feature or request feature/language-support This feature describes support for a new language/runtime. labels Jul 9, 2021
@guettli
Copy link

guettli commented Apr 20, 2022

Maybe this will helps you to implement profiling for Python: https://github.com/bloomberg/memray

@maxbrunet
Copy link
Member

CPython 3.12 will add support perf maps, which will allow to profile Python like NodeJS/Java

https://docs.python.org/3.12/howto/perf_profiling.html#perf-profiling

Shared on Discord: https://discord.com/channels/877547706334199818/877547706334199821/1036782373121032204

@kakkoyun kakkoyun self-assigned this May 23, 2023
@javierhonduco
Copy link
Contributor

Implemented by the one and only, @kakkoyun!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature/language-support This feature describes support for a new language/runtime.
Projects
None yet
Development

No branches or pull requests

5 participants