To be able to determine if we have improved the code quality of our asyncio code, we must come to common terms about which parts of the code concern us. One universal, non-functional measure of code quality that we will apply is memory and time consumption of code. The other measure used in this chapter is to avoid using APIs that have been deprecated.
To do that, the sections of this chapter illustrate how to build and use profiling tools to measure the allocated memory and duration of coroutines. Also, we learn which asyncio patterns have been deprecated ...