GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Python Wiki
  • PSF Wiki
  • Jython Wiki
  • Python Wiki

This view

  • Original page
  • New address

GeezerVison is showing wiki.python.org — Performance

View as Markdown

Performance¶

These pages cover Python performance – both practical tips for writing faster code and historical efforts to speed up the CPython interpreter itself. Some of this content dates back to specific sprints and projects from the mid-2000s, so treat the historical pages as context rather than current advice. The general performance tips, though, hold up well.

Performance Tips and Techniques¶

  • Python Speed – collected resources on making Python code run faster

  • Python Speed – overview of Python performance characteristics and optimization strategies

Profiling¶

  • Profile Replacement Project – a proposal to replace the profile and pstats modules with something more Pythonic

Interpreter Optimization Projects¶

  • Need for Speed – results from the 2006 NeedForSpeed sprint in Reykjavik

  • Need for Speed – the sprint that targeted CPython interpreter performance improvements

  • Speed Up Interpreter Startup – analysis of what makes the Python interpreter slow to start, from PyCon 2004

  • Speed Up 2to3 Pattern Matching – replacing the naive backtracking in 2to3 with finite state machines

Previous
buildout
Next
Needforspeed
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.