vmprof-python icon indicating copy to clipboard operation
vmprof-python copied to clipboard

vmprof - a statistical program profiler

Results 79 vmprof-python issues
Sort by recently updated
recently updated
newest added

if you run this program, the `time.sleep()` ends immediately (CPython, Linux64, ubuntu): ```python import time import vmprof def main(): f = open('xxx.vmprof', 'w+b') vmprof.enable(f.fileno(), real_time=True) time.sleep(3) vmprof.disable() main() ``` According...

There are several ideas, this issue summarizes them and encourages discussion: - online profiling (or profile streaming) - query runtime information. `python -m vmprof.stat -p ` prints if profiling is...

help wanted

Using the latest pypy nightly (29f3c769e610) and latest vmprof (3ffe00d), I get two different errors, randomly: About ~50% of the time, I get this: ```pytb $ pypy -m vmprof ~/pypy/default/lib-python/2.7/test/pystone.py...

``` # fib.py def fib(n): if n == 1 or n == 0: return 1 else: return fib(n - 1) + fib(n - 2) print fib(35) ``` Segmentation fault when...

All's in the title, I believe... Thanks!

enhancement
help wanted

Now the Basic Usage section has subsections about how to install vmprof on Linux and Windows, but macOS is absent, which makes an impression that it is not supported.

``` Python 2.7.13 (5.7.1+dfsg-2ubuntu1~ppa1~ubuntu14.04, May 02 2017, 19:33:41) [PyPy 5.7.1 with GCC 4.8.4] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>>> import vmprof >>>> import tempfile...

With v0.4.4, running `python -m vmprof -o output.log ...` results in: `unknown marker 0x0` Running vmprofshow against output.log results in: ``` Fatal: could not read vmprof profile file 'output.log': (313125,...

It'd be nice to have an API for querying whether vmprof is running, and further how it's configured, particularly, how it's outputting. Some sample code for this use case: ```...

https://github.com/vpelletier/pprofile is a pure python statistical profiler which has (IMO) a main strong feature compared to other profilers: it can output its result directly in callgrind format (https://github.com/vpelletier/pprofile#output), which means...

enhancement