Calmcode - pyinstrument: introduction

Why do we need a profiler?

1 2 3 4 5 6 7

Pyinstrument is a very like-able profiler for Python. It's a tool that will track how long specific parts of our code run, such that we may learn which parts are slow. Understanding this well can typically inspire us to write faster programs, which is usually a good thing.

This course will explain how the tool works but will also touch on topics of code performance in general. In particular, we're going to investigate the code that runs this website!

Documentation

If you're curious to learn more about Pyinstrument, feel free to check the documentation here.