From 13525b80c30bbfb575e0b7ccf862733369d266b0 Mon Sep 17 00:00:00 2001 From: Radovan Bast Date: Fri, 13 Sep 2024 09:39:06 +0200 Subject: [PATCH] save some notes --- content/index.md | 6 +++--- content/profiling.md | 14 ++++++++++++++ 2 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 content/profiling.md diff --git a/content/index.md b/content/index.md index c25488e..aab4003 100644 --- a/content/index.md +++ b/content/index.md @@ -116,10 +116,9 @@ The schedule will very soon contain links to lesson material and exercises. - Give individual feedback on code projects -### Extra material if we have time +### If we have time left -- Profiling memory and CPU usage -- Strategies for parallelization +- {ref}`profiling` ```{toctree} @@ -143,6 +142,7 @@ testing reusable refactoring publishing +profiling ``` ```{toctree} diff --git a/content/profiling.md b/content/profiling.md new file mode 100644 index 0000000..dbcaa1b --- /dev/null +++ b/content/profiling.md @@ -0,0 +1,14 @@ +(profiling)= + +# Profiling memory and CPU usage + +Profilers: +- cProfile or profile +- line_profiler +- viztracer +- scalene +- Intel VTune +- PyInstrument +- py-spy +- Pyflame +- timeit