I just checked the timing in the prod environment using firebug and
the request takes about 180ms with the following code to bind the form
variables:

            $data = $this['request']->get('system');
            $form->bind($data);

If I comment out the $form->bind() line the request time shrinks
dramatically to 50ms. Is there a cheaper way to do this? The form only
has two text fields and the controller also stores the values in the
database so it seems a bit excessive for the binding to take more than
twice as long as the entire bootstrapping of the framework and the
communication with the database through doctrines orm layer.

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" 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/symfony-devs?hl=en

Reply via email to