Python's implementation is slow, but you can often write fast Python if you know how to profile your code effectively. This presen tation will show you how to use the built-in cProfile module to capture pro file data, both in simple scripts and more complex GUI environments. We'l l look at how to interpret the profile/cProfile reports as well as a few ex ternal tools to make the reports easier to understand. We'll discuss how t o make profiling an effective tool for you and some common "hot spots" you' ll discover in Python code.

Comments

Comments are closed.