[New-bugs-announce] [issue10448] Add Mako template benchmark to Python Benchmark Suite

Bobby Impollonia report at bugs.python.org
Wed Nov 17 20:23:07 CET 2010

New submission from Bobby Impollonia <bobbyi at gmail.com>:

The Benchmark Suite currently contains two template benchmarks (Django and Spitfire) for Python 2.x, but none that support 3.x.

The attached patch adds a benchmark using Mako (http://www.makotemplates.org/), a popular, pure-Python, performance-oriented template system that supports both 2.x and 3.x via 2to3 conversion.

Mako is added to the "py3k" benchmark group and a new group called "template" with all three template benchmarks is added (that will only work on 2.x since it uses Django and Spitfire).

I added the Mako benchmark and lib to the lists in the README file and also updated the descriptions of the pickle benchmarks there since I had missed that before. Also fixed a path in there that was referring to perf.py as unladen-benchmarks/perf.py.

assignee: collinwinter
components: Benchmarks
files: mako.patch
keywords: patch
messages: 121378
nosy: bobbyi, collinwinter, pitrou
priority: normal
severity: normal
status: open
title: Add Mako template benchmark to Python Benchmark Suite
type: feature request
versions: Python 3.2
Added file: http://bugs.python.org/file19628/mako.patch

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list