If you use a sandbox from before PR3, that's because there was an HTTP call to validate some XML. It has been removed, and so should be must faster now.

Fabien

--
Fabien Potencier
Sensio CEO - symfony lead developer
sensiolabs.com | symfony-project.org | fabien.potencier.org
Tél: +33 1 40 99 80 80

On 9/24/10 4:35 AM, Dennis Jacobfeuerborn wrote:
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