Re: Importing Cheetah.Template.Template unusually slow?

"R. Tyler Ballance" <[email protected]> Sun, 31 Jan 2010 18:13:06 -0800
Newsgroups gmane.comp.python.cheetah
Message-ID <[email protected]>
On Mon, 01 Feb 2010, Matthew Beauregard wrote:

> 
> On 28/01/2010, at 3:48 PM, R. Tyler Ballance wrote:
> 
> > 
> > On Wed, 27 Jan 2010, Matthew Beauregard wrote:
> > 
> >> 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?
> > 
> > After removing the WebWare legacy imports in Cheetah.Servlet, I think you
> > should see a speed-up in import-time on your machine. Would you mind grabbing a
> > tarball from GitHub [1] and testing it for me (I don't have a Mac handy) to
> > verify the fix?
> 
> That's done the trick, thanks!
> 
> I'm very happy with that tarball, no need to change release schedules on my account.

Heh, no worries another release is due fairly soon anyways since I've got a
couple bugfixes and refactorings in `next` branch for v2.4.2; having a good
performance improvement for Mac users is just a little extra icing :)

Cheers,
-R. Tyler Ballance
--------------------------------------
 Jabber: [email protected]
 GitHub: http://github.com/rtyler
Twitter: http://twitter.com/agentdero
   Blog: http://unethicalblogger.com

------------------------------------------------------------------------------
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

_______________________________________________
Cheetahtemplate-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cheetahtemplate-discuss
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)

iEYEARECAAYFAktmOLIACgkQFCbH3D9R4W/UpgCaA8yXsNEkydfgWtnhcpIwBzkI
5UYAnRZxz4JZI6lieYSmKuL28O9VxYfm
=pCRS
-----END PGP SIGNATURE-----