vmprof-python
vmprof-python copied to clipboard
vmprof - a statistical program profiler
I get the following error intermittently when trying to profile a program that uses PyTorch. I'm not sure if that's relevant, since I haven't tried to minimize the program. The...
Hello, Are there any plans to add ARMv7 support (For Raspberry Pi and the like?)
Not really sure what's causing this. It's a somewhat complicated project with numpy and scipy and other modules. I can share the code if that's helpful. Here's a stack trace...
I'd like to know if there is any way to use `vmprof` to profile a python web app in a production style environment. **Current problem** I'd like to profile a...
I just noticed by looking at the implementation: on unix, we use a counter, while on windows it's a simple boolean. This means that this code behave differently: ```python _vmprof.stop_sampling()...
I have a PyPy process which is being profiled with `vmprof.enable(native=False)`. I noticed it was consuming 100% of CPU, so I gdbed into it. This is what I found: ```...
consider the following example: ```python import vmprof import bz2 N = 10000 DATA = 'hello' * 500 def a(): for i in xrange(N): bz2.compress(DATA) def b(): for i in xrange(N/2):...
TL;DR; version: vmprof should run at 1000Hz, but it runs at 250Hz. By default, vmprof uses a `DEFAULT_PERIOD = 0.00099`, which is almost 1000Hz. However, on all machines on which...
I've a simple program `timer.py` that I'm using to test vmprof features: ``` import time timer = time.time() while time.time() - timer < 5: pass print ('Done') ``` I run...