Fairly major performance regression from v2.2.0-v2.2.2
[email protected] Mon, 12 Oct 2009 23:49:51 -0700
| Newsgroups | gmane.comp.python.cheetah |
|---|---|
| Message-ID | <20091013064951.GB9649@banana> |
I was doing some hotshot[1] based profiling tonight with some of the basic performances tests I had written once upon a time and I noticed that while Template.compile() has remained speedy, Template.__init__() has gotten horrifically slow in comparision. . Upon further digging and prodding I found the issue was one that I introduced in 8982ecd . The PATCH follows this email includes the fix, insofar that it causes the dir() call to only execute at module import instead of __init__() (relevant members of Template really aren't likely to change between instantiations of Template). I'm considering backmerging this down into master/maint and creating a v2.2.2.1 with the performance regression fixed, thoughts? Cheers, -R. Tyler Ballance . [1] http://docs.python.org/library/hotshot.html ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Cheetahtemplate-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cheetahtemplate-discuss
signature.asc
(application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkrUIw8ACgkQFCbH3D9R4W8tOACff2BzVJoVu7QTJFYWImNx8v4l puUAoKlSJPrNmQEQQGJw40/ws9wubfti =Bg3i -----END PGP SIGNATURE-----