High Performance Python I

Type:
Tutorial
Audience level:
Intermediate
Category:
High Performance Computing
March 8th 9 a.m. – 12:20 p.m.

Description

At EuroPython 2011 I ran a very hands-on tutorial for High Performance Python techniques. This updated tutorial will cover profiling, PyPy, Cython, numpy, NumExpr, ShedSkin, multiprocessing, ParallelPython and pyCUDA. Here's a 55 page PDF write-up of the EuroPython material: http://ianozsvald.com/2011/07/25/high-performance-python-tutorial-v0-2-from-europython-2011/

Abstract

At EuroPython 2011 I ran a very hands-on tutorial for High Performance Python techniques. This updated tutorial will cover:

  • profiling with cProfile, run_snake and line_profiler
  • PyPy
  • Cython
  • numpy with and without vectors
  • NumExpr
  • ShedSkin Py->C++ compiler
  • multiprocessing for multi-core
  • ParallelPython for multi-machine
  • pyCUDA demos

Here's a 55 page PDF write-up of the EuroPython material with links to github source.

I plan to expand the original material and to maybe also cover other tools like execnet and PyPy-numpy.