~/talk

Off road profiling - when the automated profilers just don't cut it.

Talkat PyCon Israel 2022 · 2022-06-28..06-29· [python]
links:none on file
slides:none on file

Automatic profilers slow a 9‑hour CI job enough to make iteration impossible, so a lightweight manual profiler is built instead: manprof inserts time.time snapshots at checkpoints, accumulates per-checkpoint totals and a nested-total counter to prevent double counting, and computes net time as accumulated minus nested. It supports multiple independent profiler instances, decorator-based checkpointing, and exports to YAML/JSON. It handles short hot functions called frequently and phase‑specific buckets; results print per‑checkpoint gross and net seconds.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 1:12Why use manual profiling
  3. 2:36Limitations of automatic profilers
  4. 5:03Manual timing with time.time
  5. 10:04Handling nested function calls
  6. 14:43Introducing manprof library
  7. 16:12Using manprof checkpoints
  8. 21:55Q&A and future plans
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.