Importing Cheetah.Template.Template unusually slow?
Matthew Beauregard <[email protected]> Wed, 27 Jan 2010 21:34:52 +1100
| Newsgroups | gmane.comp.python.cheetah |
|---|---|
| Message-ID | <[email protected]> |
Hi, 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? thanks, Matthew time python -c 'from Cheetah.Template import Template' real 0m0.693s user 0m0.581s sys 0m0.104s OSX 10.6.2 Python 2.6.1 (r261:67515, Jul 7 2009, 23:51:51) [GCC 4.2.1 (Apple Inc. build 5646)] on darwin ------------------------------------------------------------------------------ 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