Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion notebooks/01.07-Timing-and-Profiling.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"We see that this function uses about 100 MB of memory.\n",
"We see that this function uses about 60 MB of memory.\n",
"\n",
"For a line-by-line description of memory use, we can use the ``%mprun`` magic.\n",
"Unfortunately, this magic works only for functions defined in separate modules rather than the notebook itself, so we'll start by using the ``%%file`` magic to create a simple module called ``mprun_demo.py``, which contains our ``sum_of_lists`` function, with one addition that will make our memory profiling results more clear:"
Expand Down