← Back to team overview

launchpad-dev team mailing list archive

Re: announcing pybars - handlebars for Python

 

On Mon, 20 Feb 2012 17:17:22 +1300, Robert Collins <robertc@xxxxxxxxxxxxxxxxx> wrote:
> bin/py -m timeit -s 'import pystache' -s 'source =
> file("/home/robertc/source/launchpad/lp-branches/working/lib/lp/bugs/templates/buglisting.mustache",
> "rb").read().decode("utf8")' -s 'import json' -s 'data =
> json.loads(file("profdata", "rb").read().decode("utf8"))' -s 'render =
> pystache.render' -s 'import pdb' 'render(source, data)'

It looks like this is importing pdb, which could be skewing your
numbers?

Thanks,

James


Follow ups

References