DjangoCon 2021 | Hunting Performance in Django Code | Sümer Cip

Published: 02 August 2021
on channel: DjangoCon Europe
1,388
like

Introduction and Outline

Quick introduction of myself followed by an outline of what will be covered and what you will learn.

Why we profile?

A typical program spends almost all its time in a small subset of its code. Optimizing those hotspots is all that matters. This is what a profiler is for: it leads us straight to the functions where we should spend our effort.

What types tools are available and how they work?

-Deterministic Profilers
-Statistical Profilers

I will be walking over the different use cases, pros/cons for each type. Then I will dig in a bit deeper on how they work under the hood. Understanding the inner workings a bit might be helpful while analysing its output.

What kind of information do we get?

I'll describe what kind of output we get from different profilers. What kind of metrics are available(Wall time, CPU time, sub/cumulative time) and where are those metrics are most useful while hunting for performance problems especially
for Web applications. I will also walk over/explain different kind of visualisations that profilers generate: Flamegraphs, Callgraph, SpeedScope...etc.

Questions


Watch video DjangoCon 2021 | Hunting Performance in Django Code | Sümer Cip online without registration, duration hours minute second in high quality. This video was added by user DjangoCon Europe 02 August 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,388 once and liked it like people.