Skip to content

Commit 30cd548

Browse files
authored
Update README.rst
1 parent 3ac0040 commit 30cd548

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

README.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,11 @@ give you any information on which function is executed at a given
138138
time. Depending on the case, it can be difficult to identify the part
139139
of the code that is causing the highest memory usage.
140140

141-
Adding the `profile` decorator to a function and running the Python
141+
Adding the `profile` decorator to a function(ensure no
142+
`from memory_profiler import profile` statement) and running the Python
142143
script with
143144

144-
mprof run <script>
145+
mprof run --python python <script>
145146

146147
will record timestamps when entering/leaving the profiled function. Running
147148

0 commit comments

Comments
 (0)