Re: Importing Cheetah.Template.Template unusually slow?
Matthew Beauregard <[email protected]> Thu, 28 Jan 2010 02:26:33 +1100
| Newsgroups | gmane.comp.python.cheetah |
|---|---|
| Message-ID | <[email protected]> |
On 28/01/2010, at 1:29 AM, Aahz wrote: > 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' $ time python -c 'pass' real 0m0.026s user 0m0.013s sys 0m0.012s thanks, Matthew ------------------------------------------------------------------------------ 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