You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-5
Original file line number
Diff line number
Diff line change
@@ -31,28 +31,31 @@ Setting up development can be done using the following commands:
31
31
$ python setup.py develop
32
32
33
33
Now it is time to write a test and implement your feature. If you want
34
-
your changes to affect vmprof.com, please head over to
34
+
your changes to affect vmprof.com, head over to
35
35
https://github.com/vmprof/vmprof-server and follow the setup instructions.
36
36
37
-
Please also consult our section for development at https://vmprof.readthedocs.org.
37
+
Consult our section for development at https://vmprof.readthedocs.org for more
38
+
information.
38
39
39
40
## vmprofshow
40
41
41
-
`vmprofshow` is a command line tool that comes with **VMprof** which can read profile files generated by **VMprof** and produce a nicely formatted output.
42
+
`vmprofshow` is a command line tool that comes with **VMProf** which can read profile files
43
+
and produce a formatted output.
42
44
43
-
Here is an example of how to use:
45
+
Here is an example of how to use`vmprofshow`:
44
46
45
47
Clone the vmprof repo first to use a minimalistic cpuburn.py:
46
48
47
49
```console
48
50
git clone https://github.com/vmprof/vmprof-python
49
51
cd vmprof-python
52
+
pip install .
50
53
```
51
54
52
55
Run that smallish program which burns CPU cycles (with vmprof enabled):
53
56
54
57
```console
55
-
python vmprof/test/cpuburn.py
58
+
pypy vmprof/test/cpuburn.py
56
59
```
57
60
58
61
This will produce a profile file `vmprof_cpuburn.dat`.
0 commit comments