Transparent Gif

Department of Computer Science

University of California, Santa Barbara

Abstract

Understanding the Potential of Interpreter-based Optimizations for Python

by: Nagy Mostafa, Chandra Krintz,Calin Cascaval, David Edelsohn, Priya Nagpurkar, Peng Wu

Abstract:

The increasing popularity of scripting languages as general purpose programming environments calls for more efficient execution. Most of these languages, such as Python, Ruby, PHP, and JavaScript are interpreted. Interpretation is a natural implementation given the dynamic nature of these languages and interpreter portability has facilitated wide-spread use. In this work, we analyze the performance of CPython, a commonly used Python interpreter, to identify major sources of overhead. Based on our findings, we investigate the efficiency of a number of optimizations and explore the design options and trade-offs involved.

Keywords:

None.

Date:

Aug 2010

Document: 2010-14

XHTML Validation | CSS Validation
Updated 14-Nov-2005
Questions should be directed to: webmaster@cs.ucsb.edu