Replies: 2 comments 3 replies
-
Hello @mischif, I also have had my confidence in scalene quickly plummet after trying a simple program that should create both high CPU usage and high memory usage. But as you can see by the profile attached. The scalene profile is very confusing. it was run with the following arguments
@emeryberger it would be great if you could explain the following
See attached image |
Beta Was this translation helpful? Give feedback.
3 replies
-
@mischif Have you tried setting the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to use Scalene to find memory leaks and reduce my library's memory usage, but most of the lines that Scalene points out as having significant memory usage (especially the one identified as a potential leak) are just adding two numbers together or looping over a small list. Is this an issue others have experienced or am I doing something wrong?
I've seen this issue over multiple versions of Scalene/Python, but the profile I've attached is for Python 3.10.6/Scalene 1.5.25.
Sample profile
Beta Was this translation helpful? Give feedback.
All reactions