Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ very huge graphs with a lot of noise.
`Profile.dump_stats() <https://docs.python.org/3/library/profile.html#profile.Profile.dump_stats>`_
call or via direct script profiling::

python -m cProfile -o myscript.prof myscript.py
python3 -m cProfile -o myscript.prof myscript.py


Install
Expand All @@ -24,7 +24,7 @@ Via pip::

Or you can invoke ``flameprof.py`` directly::

python flameprof.py input.prof > output.svg
python3 flameprof.py input.prof > output.svg


Native svg (--format=svg)
Expand Down
2 changes: 1 addition & 1 deletion bin/flameprof
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/sh
exec python -m flameprof "$@"
exec python3 -m flameprof "$@"
2 changes: 1 addition & 1 deletion flameprof.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/env python
#!/bin/env python3
from __future__ import division, print_function

import os.path
Expand Down