PYO3 projects Performance Profiling #3084
Answered
by
Congyuwang
Congyuwang
asked this question in
Questions
-
How do I properly profile function calls of a pyo3 Python package? I wish to know the cost of type conversion, other kinds of overhead, and etc. How to produce a flamegraph for pyo3 project? |
Beta Was this translation helpful? Give feedback.
Answered by
Congyuwang
Apr 7, 2023
Replies: 1 comment
-
I get it. I tried to use py-spy on m2 Mac. However py-spy does not support --native flag on arm architecture. So I'll need a x86_64 linux/windows machine for py-spy to properly profile it. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Congyuwang
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I get it. I tried to use py-spy on m2 Mac. However py-spy does not support --native flag on arm architecture. So I'll need a x86_64 linux/windows machine for py-spy to properly profile it.