Re: Importing Cheetah.Template.Template unusually slow?

Aahz <[email protected]> Wed, 27 Jan 2010 06:29:53 -0800
Newsgroups gmane.comp.python.cheetah
Organization The Cat & Dragon
Message-ID <[email protected]>
On Wed, Jan 27, 2010, Matthew Beauregard wrote:
>
> I was trying to speed up my CGI, and I worked out that the lion's
> share of execution time was taken up by the Cheetah import.  Is 0.7s
> unusually slow?  Where should I start in trying to speed it up?
> 
> time python -c 'from Cheetah.Template import Template'
> 
> real    0m0.693s

How about telling us the timing for this:

time python -c 'pass'
-- 
Aahz ([email protected])           <*>         http://www.pythoncraft.com/

import antigravity

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com