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
How to profile long running application ? #92
Labels
Comments
eromoe
changed the title
How to profile long running application , I don' t want to wait .
How to profile long running application ,I don' t want to wait .
Jun 25, 2019
eromoe
changed the title
How to profile long running application ,I don' t want to wait .
How to profile long running application ?
Jun 25, 2019
I would suggest running your program on smaller input if it's possible. |
You don't need to run your full application. Comment out code and tweak the main loop so it runs the program directly instead of |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I have a project need multiprocessing and would take over 4 hour in a 36cores vps .
My local machine is windows, has some problem to run mprof .
So I run
vprof -c cmh "run.py salecount -n 1" --output-file profile.json
on a remote vps .Because vprof didn't support multiprocessing , I can't wait it done .
Abort from execution, it didn't export any files .
What is the correct way in my case ??
The text was updated successfully, but these errors were encountered: