Exercise 18. Measuring Performance
In this exercise you’re going to learn to use several tools to analyze the performance of the data structures and algorithms you’ve created. To keep this introduction focused and small we’ll look at the performance of the sorting.py
algorithms from Exercise 16, and then in the video I’ll analyze the performance of all the data structures we’ve done so far.
Performance analysis and tuning is one of my favorite activities in computer programming. I’m that guy who will sit with a ball of tangled yarn while I watch TV and just pick it apart until it’s all nice and orderly. I love teasing apart complicated mysteries, and code performance is one of the best complicated mysteries. There are also nice, useful tools ...
Get Learn More Python 3 the Hard Way: The Next Step for New Python Programmers now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.