Skip to content
This repository was archived by the owner on Jun 9, 2020. It is now read-only.
Closed
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
5 changes: 5 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ does need to be explicitly told what functions to profile. The easiest way to
get started is to use the `kernprof` script. ::

$ kernprof -l script_to_profile.py

If you running your project from virtual environment and did not install
module to system python: ::

$ venv/bin/kernprof -l script_to_profile.py

`kernprof` will create an instance of LineProfiler and insert it into the
`__builtins__` namespace with the name `profile`. It has been written to be
Expand Down