I was curious of performance new Python 2.4 "Simpler String Substitutions"
so I decided to benchmark it. What I get

[EMAIL PROTECTED]:~/python/benchmarks$ python template.py
         Normal python string substition = 0.017546 seconds
   PEP 292: Simpler String Substitutions = 0.243750 seconds
                   Jinja template system = 0.821844 seconds
                 Cheetah template system = 26.842872 seconds
[EMAIL PROTECTED]:~/python/benchmarks$ 

To get i wrote small soft: 
http://wiki.bluszcz.net/PythoneTemplatingSystemsSpeedBenchmark

Cheers,

-- 
Rafał つた Zawadzki
http://bluszcz.net http://wiki.bluszcz.net
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to