Faster Python Programs through Optimization

Mike Mueller (Python Academy)
Location: D137/138
Please note: to attend, your registration must include Tutorials.
Average rating: **...
(2.88, 17 ratings)
  • How Fast is Fast Enough?
  • Optimization Guidelines: Premature optimization, Optimization rules,
    Seven steps for incremental optimization
  • Optimization strategy: Measuring in stones, Profiling CPU usage, Profiling memory usage
  • Algorithms and Anti-patterns: String Concatenation, List and Generator Comprehensions, The Right Data Structure, Caching
  • The Example
  • Testing Speed
  • Pure Python
  • Meet Psyco, the JIT
  • Numpy for Numeric Arrays
  • Using multiple CPUs with pyprocessing/multiprocessing
  • Combination of optimization strategies
  • Results of Different Example Implementations

NOTE: Attendees must have Python 2.5 or 2.6 installed. Run the script and follow the
instructions here.

Photo of Mike Mueller

Mike Mueller

Python Academy

Mike Müller lives in Leipzig, Germany and works as a consultant, programmer and
trainer. He programs scientific software in Python and other languages. He
teaches Python since 2004 and since 2006 at the Python Academy. His courses
cover introductions to Python as well as special topics such as extensions or
thread programming. Being an engineer who also works in research projects, he
use numerous scientific Python packages on a daily basis and, therefore, also
offers a course Python for Scientist and Engineers.
When he does not program or teach, he spends time with his wife and his two
kids or works out and swims.

Comments on this page are now closed.


Akkana Peck
07/22/2010 3:31pm PDT

The handout is very good—that was the main value of the tutorial.

Lex Berezhny
07/22/2010 1:56am PDT

It seemed that the presenter was just reading from the handout. The material was good and useful but overall the presentation was lacking.

Picture of John Fitzpatrick
John Fitzpatrick
07/20/2010 7:39am PDT

Good basic ideas for improving the performance of Python programs. I program in Perl and Ruby - and not Python - and I was able to follow the material. It won’t give you the answers for your performance problems, but the ideas let you understand some of the internals of Python and start thinking for yourself about performance improvement.

  • Intel
  • Microsoft
  • Google
  • Facebook
  • Rackspace Hosting
  • (mt) Media Temple, Inc.
  • ActiveState
  • CommonPlaces
  • DB Relay
  • FireHost
  • GoDaddy
  • HP
  • HTSQL by Prometheus Research
  • Impetus Technologies Inc.
  • Infobright, Inc
  • JasperSoft
  • Kaltura
  • Marvell
  • Mashery
  • NorthScale, Inc.
  • Open Invention Network
  • OpSource
  • Oracle
  • Parallels
  • PayPal
  • Percona
  • Qualcomm Innovation Center, Inc.
  • Rhomobile
  • Schooner Information Technology
  • Silicon Mechanics
  • SourceGear
  • Symbian
  • VoltDB
  • WSO2
  • Linux Pro Magazine

Sponsorship Opportunities

For information on exhibition and sponsorship opportunities at the conference, contact Sharon Cordesse at

Download the OSCON Sponsor/Exhibitor Prospectus

Media Partner Opportunities

Download the Media & Promotional Partner Brochure (PDF) for information on trade opportunities with O'Reilly conferences or contact mediapartners@

Press and Media

For media-related inquiries, contact Maureen Jennings at

OSCON Newsletter

To stay abreast of conference news and to receive email notification when registration opens, please sign up for the OSCON Newsletter (login required)

OSCON 2.0 Ideas

Have an idea for OSCON to share?

Contact Us

View a complete list of OSCON contacts