Skip main navigation

Get 30% off one whole year of Unlimited learning. Subscribe for just £249.99 £174.99. T&Cs apply

Week 1 summary

Short summary of week one.
We hope that you have enjoyed the first week of Python in High Performance Computing!

This week, we have discussed various performance challenges in Python programs and have set up the programming environment for the course. We have also introduced various ways of investigating the performance of Python programs. We hope that you remember the number one rule in performance optimization:

Measure before you optimize!

By now, you should know how to use the cProfile profiling tool which is included in the Python standard library.

Next week, we will look into how to use fixed size, uniformly typed NumPy arrays to get more performance in Python.

© CC-BY-NC-SA 4.0 by CSC - IT Center for Science Ltd.
This article is from the free online

Python in High Performance Computing

Created by
FutureLearn - Learning For Life