Replies: 1 comment 1 reply
-
Hi - first, great to hear you were able to use Scalene successfully. Second, Scalene definitely attributes time to the calling Python code, so perhaps Numba is doing something which is interfering with that attribution. A minimum working example would be great. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been using Scalene to improve some code and have successfully been able to improve overall performance by 2x. Specifically, Scalene pointed to one function being called a lot which I was able to refactor such that Numba was able to get more traction.
The issue is that now the function has disappeared from Scalene output as it's now native code. I was expecting that I'd see that time attributed to the calling Python code, but that doesn't seem to be the case.
Hence I'm wondering whether Scalene has a "cumulative mode" where sampling walks over stack frames and time gets added to callers.
Beta Was this translation helpful? Give feedback.
All reactions