On May 10, 2007, at 6:37 PM, kerinin wrote:

>
> Does anyone know what the performance implications of using widgets
> is?  In other words, if i implemented the same template code directly
> in a widget, will it execute faster than if I put it in a widget and
> called the widget in the template?

Widgets have some overhead compared to plain templates, I haven't  
measured it though...
>
> I'm refactoring a site for performance and I'm considering moving some
> of the widget code into the templates in an attempt to improve
> performance...

I'd recommend profiling your app first to see where optimization will  
benefit more instead of blindly refactoring.

Alberto

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

Reply via email to