Le dimanche 31 mai 2009 à 09:20 -0700, jlar a écrit : > Has anyone been able to use psyco with TurboGears? I suspect that the > last error is related to one of the known limitations of psyco: > http://psyco.sourceforge.net/psycoguide/bugs.html > > Any help is appreciated.
If your bottleneck is in a specific set of functions, you can recompile them (and only them) using psyco.bind(). If not, you'll have to apply other techniques (e.g. application-level caching). Note: psyco gives a large boost on simple, straight-forward code (e.g. tight computing loops), but not on complex object-oriented code with many indirections. My experience of psyco with a Twisted application is that the global speedup was between 30% and 100%. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

