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

Update plot xlim #1

Closed
wants to merge 186 commits into from
Closed

Update plot xlim #1

wants to merge 186 commits into from

Conversation

githubfzq
Copy link

Hi, I changed the plotting data to fit the xlim window, as I found that y-axis window are not nicely rescaled.

Related to pythonprofilers#105 (comment)

amyangfei and others added 30 commits January 10, 2018 18:08
This should fix pythonprofilers#195. Increment should reflect the largest increment with respect to the previous line, which is not what the previous code was doing. If run in a for loop, for some reason it was accumulating the increments.

I also disabled a test that was assuming that the increment of a function that deletes its temporaries need to be zero, which given the above should not be its behaviour.
All python n00bs should use `pip` these days. Those who shouldn't are not n00bs and won't be needing help from the readme.
Previously, if the profiling was run on multiple same-named functions in
different classes or modules, the plot legend did not make clear which
bracket measured which function.
…legend

Make function legend in mprof plot unambiguous
Optionally propagate the exit code
fabianp and others added 29 commits February 9, 2022 15:15
Handle unicode files in a Python 2 and 3 compatible fassion using io.open
%memit: fix repeats for short-living statements
Adapted from an answer to "Graphing a process's memory usage" on [Stack Overflow](https://stackoverflow.com/a/62876993/111424).

Memory profiler is exactly the tool I've been looking for. But the Usage section of the README makes it seem so complicated to use that it scared me away!

The Stack Overflow answer gets straight to the point and shows how simple it is to use. I think it deserves to be at the top of the README.
@githubfzq githubfzq closed this Oct 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet