On 22/06/07, Tobias Kremer <[EMAIL PROTECTED]> wrote:

with C::C::HTML::FormFu:    ~11 request per second
without C::C::HTML::FormFu: ~11 requests per second

:(

I believe that the many TT INCLUDEs to build the form are causing
the bad performance. I measured the stringification time of $form
in my controller and it takes up approx. 50-60% of the action's
whole processing time.

Hmm, are you using the compiled C, or pure-perl TT stash?
Is TT caching on?

Is that 50-60% of just the action subroutine that's being hit, or of
the entire catalyst process?
What else is the action doing?
If it's only building the form, then stringifying it, I would expect
either of those to be a high percentage of the runtime.

It would be worth comparing the times for stringifying "$form" and
doing $form->render.
That should help figure out whether it's the FormFu internals, or TT.

btw, what are you using to get the requests-per-second figure?

Carl

_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Reply via email to