Re: psyco
Pierre-Frédéric Caillaud <[email protected]>
| Newsgroups | gmane.comp.web.skunkweb |
|---|---|
| Organization | La Boutique Numérique |
| Message-ID | <[email protected]> |
Hello, About using Psyco to accelerate template processing : > In simple tests I performed, this frankly didn't make difference, but > I'm not very familiar with psyco and I assume it could be targeted > better. Please let me know what you find. Psyco does not accelerate all python. You can find a list of unsupported constructs here : http://psyco.sourceforge.net/psycoguide/index.html Also, I would like to take a look at the python code which is generated by the STML compiler. Is it saved in a file, and if yes, where ? Actually what I'd most want to know is : does it put the code straight into a module, or is it in a function ? This is because Pyhton optimizes local variables a lot, but top-level module variables are slow. > As for performance in general, generally speaking, with SkunkWeb, > component caching is the key to performance. Yes, this is true. However, in my case, it is for an Admin site so data may change anytime. I couldn't come up with a good way of using caching. For my next app I'll think about it from the start. Thanks, -- ____________________________________ Pierre-Frédéric Caillaud La Boutique Numérique [email protected] Tél : 08 71 73 66 60 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com