Testing and profiling Python code simultaneously using pytest and cProfile

The Python logo.

I've been using pytest for a few months now to help me to test individual functions and algorithms as I develop them.  So far I've been impressed by how easy it is to setup my tests.  Reading some of my previous posts would tell you that I like optimising code for speed (perhaps a little too much for … Continue reading Testing and profiling Python code simultaneously using pytest and cProfile