Media Summary: today I show how I figure out what's slow in a today I talk about how to type annotate a -- fortunately it's really easy! - what is  ... today I show how replacing pathlib with plain strings speeds up black's cache by a rather significant amount! -

Pretty Python Profiling Intermediate Anthony - Detailed Analysis & Overview

today I show how I figure out what's slow in a today I talk about how to type annotate a -- fortunately it's really easy! - what is  ... today I show how replacing pathlib with plain strings speeds up black's cache by a rather significant amount! - today I talk about whether adding type annotations to today we're back talking about typing in mypy -- I show you two ways to debug types during type checking as well as a hint about ... today I answer an interesting question which surprised me -- why is `

today I talk about why it's necessary to set `__slots__ = ()` when inheriting from namedtuple classes - namedtuples: ... another performance video! today I show you a surprisingly slow part of flake8 that got fixed in 5.0 - today I go over all the tools I use to set up my projects, as well as the differences between 1-file libraries, multi-file libraries, and ... today I show a quick introduction to type annotating code in

Photo Gallery

pretty python profiling (intermediate) anthony explains #016
how I sped up python by 20ms (intermediate) anthony explains #417
python typing: @property (beginner - intermediate) anthony explains #117
how I made my import sorter 7x faster (intermediate) anthony explains #457
pathlib is slow? how I improved black's caching by 40x (intermediate) anthony explains #235
is python with types faster? (intermediate) anthony explains #126
debugging mypy types (beginner - intermediate) anthony explains #299
python: why is -c faster than -m? (intermediate) anthony explains #222
why __slots__ = () (namedtuples) (intermediate) anthony explains #123
how I sped up flake8 by 20% (intermediate) anthony explains #460
my python project setup (+ all tools) (intermediate) anthony explains #396
"No time to idle about: Profiling import time in Python" - Daniel Porteous (PyCon AU 2019)
View Detailed Profile
pretty python profiling (intermediate) anthony explains #016

pretty python profiling (intermediate) anthony explains #016

today I show how I figure out what's slow in a

how I sped up python by 20ms (intermediate) anthony explains #417

how I sped up python by 20ms (intermediate) anthony explains #417

pretty python profiling

python typing: @property (beginner - intermediate) anthony explains #117

python typing: @property (beginner - intermediate) anthony explains #117

today I talk about how to type annotate a @property -- fortunately it's really easy! - what is @property ...

how I made my import sorter 7x faster (intermediate) anthony explains #457

how I made my import sorter 7x faster (intermediate) anthony explains #457

pretty python profiling

pathlib is slow? how I improved black's caching by 40x (intermediate) anthony explains #235

pathlib is slow? how I improved black's caching by 40x (intermediate) anthony explains #235

today I show how replacing pathlib with plain strings speeds up black's cache by a rather significant amount! -

is python with types faster? (intermediate) anthony explains #126

is python with types faster? (intermediate) anthony explains #126

today I talk about whether adding type annotations to

debugging mypy types (beginner - intermediate) anthony explains #299

debugging mypy types (beginner - intermediate) anthony explains #299

today we're back talking about typing in mypy -- I show you two ways to debug types during type checking as well as a hint about ...

python: why is -c faster than -m? (intermediate) anthony explains #222

python: why is -c faster than -m? (intermediate) anthony explains #222

today I answer an interesting question which surprised me -- why is `

why __slots__ = () (namedtuples) (intermediate) anthony explains #123

why __slots__ = () (namedtuples) (intermediate) anthony explains #123

today I talk about why it's necessary to set `__slots__ = ()` when inheriting from namedtuple classes - namedtuples: ...

how I sped up flake8 by 20% (intermediate) anthony explains #460

how I sped up flake8 by 20% (intermediate) anthony explains #460

another performance video! today I show you a surprisingly slow part of flake8 that got fixed in 5.0 -

my python project setup (+ all tools) (intermediate) anthony explains #396

my python project setup (+ all tools) (intermediate) anthony explains #396

today I go over all the tools I use to set up my projects, as well as the differences between 1-file libraries, multi-file libraries, and ...

"No time to idle about: Profiling import time in Python" - Daniel Porteous (PyCon AU 2019)

"No time to idle about: Profiling import time in Python" - Daniel Porteous (PyCon AU 2019)

Daniel Porteous

introduction to python typing + mypy (beginner - intermediate) anthony explains #047

introduction to python typing + mypy (beginner - intermediate) anthony explains #047

today I show a quick introduction to type annotating code in