Media Summary: today I show how I figure out what's slow in a today I talk about the three generic types of `typing.Generator` and what send / return type mean. - generator basics: ... today I talk about whether adding type annotations to

Pretty Python Profiling Intermediate Anthony - Detailed Analysis & Overview

today I show how I figure out what's slow in a today I talk about the three generic types of `typing.Generator` and what send / return type mean. - generator basics: ... today I talk about whether adding type annotations to today I talk about the difference between object and Any when typing things! - intro to typing / mypy: ... today I follow up to the video about Protocol and show for doing some light structural type checking at ... today I answer an interesting question which surprised me -- why is `

probably the most asked question on my channel -- what are those funny @ signs! I explain a simple decorator, a decorator factory ... today I show how I tracked down a performance regression, how I fixed it, and ultimately how it made pip way faster! - what is git ... we talked about decorators before but I didn't show how to write a class decorator (or how it works)! - decorators: ... 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 analyze / address an impressive claim -- that cpython's hash can be changed and improve performance drastically!

Photo Gallery

pretty python profiling (intermediate) anthony explains #016
how I made my import sorter 7x faster (intermediate) anthony explains #457
python typing: Generator[T, S, R] (intermediate) anthony explains #297
is python with types faster? (intermediate) anthony explains #126
python typing: object vs Any (intermediate) anthony explains #275
typing: Protocol + @runtime_checkable (intermediate) anthony explains #187
python: why is -c faster than -m? (intermediate) anthony explains #222
python @decorators - (intermediate) anthony explains #002
how I sped up python by 20ms (intermediate) anthony explains #417
I made pip startup 25% faster (intermediate) anthony explains #427
python: decorating a class (intermediate) anthony explains #194
my python project setup (+ all tools) (intermediate) anthony explains #396
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 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

python typing: Generator[T, S, R] (intermediate) anthony explains #297

python typing: Generator[T, S, R] (intermediate) anthony explains #297

today I talk about the three generic types of `typing.Generator` and what send / return type mean. - generator basics: ...

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

python typing: object vs Any (intermediate) anthony explains #275

python typing: object vs Any (intermediate) anthony explains #275

today I talk about the difference between object and Any when typing things! - intro to typing / mypy: ...

typing: Protocol + @runtime_checkable (intermediate) anthony explains #187

typing: Protocol + @runtime_checkable (intermediate) anthony explains #187

today I follow up to the video about Protocol and show @runtime_checkable for doing some light structural type checking at ...

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 `

python @decorators - (intermediate) anthony explains #002

python @decorators - (intermediate) anthony explains #002

probably the most asked question on my channel -- what are those funny @ signs! I explain a simple decorator, a decorator factory ...

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

I made pip startup 25% faster (intermediate) anthony explains #427

I made pip startup 25% faster (intermediate) anthony explains #427

today I show how I tracked down a performance regression, how I fixed it, and ultimately how it made pip way faster! - what is git ...

python: decorating a class (intermediate) anthony explains #194

python: decorating a class (intermediate) anthony explains #194

we talked about decorators before but I didn't show how to write a class decorator (or how it works)! - decorators: ...

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 ...

can cpython be 76% faster by changing hash()? (no) (intermediate) anthony explains #269

can cpython be 76% faster by changing hash()? (no) (intermediate) anthony explains #269

today I analyze / address an impressive claim -- that cpython's hash can be changed and improve performance drastically!