<p dir="auto">I have a problem to update an entity which have more than 250 fields in a form. No assert validator, and a basic template twig.</p>
<p dir="auto">On PHP 5.4:<br>
In SF2.1, no problem, I sumbit the form, it takes 1-2 seconds to do that.<br>
In SF2.2 or 2.3, I have a "maximum execution time" error ! I try to modify the value and I found it takes about 17 minutes !!!!!</p>
<p dir="auto">On PHP 5.3:<br>
No problem, the form is submitted in 1-2 seconds with SF 2.1, 2.2 or 2.3</p>
<p dir="auto">Hello,</p>
<p dir="auto">I upgraded to Symfony 2.3 recently an application.</p>
<p dir="auto">This application has a form with 500 rows and 5 fields in each rows: 2500 fields.</p>
<p dir="auto">With Symfony 2.3 and the button support feature the form takes 110 seconds (70% of the total request processing time) and this time is spent just in getValidationGroups.</p>
<p dir="auto">findClickedButton is being called recursively for the whole form on each field restarting a t the root every time, at the end of the recursion, this method is called more than 6.9 Million times.<br>
<a href="http://oi41.tinypic.com/rmmag6.jpg" rel="nofollow">http://oi41.tinypic.com/rmmag6.jpg</a><br>
<a href="http://oi42.tinypic.com/n5my35.jpg" rel="nofollow">http://oi42.tinypic.com/n5my35.jpg</a></p>
<p dir="auto">Adding a "submit" button managed by the form really improved the findClickedButton as it was being called only ~2800 times.</p>
<p dir="auto">I have no idea if this is a bug or not and how can it be fixed, but i thought reading at the blogpost that managing submit buttons within the form was optional, and considering the overhead of not managing it with the form, i feel like i have to change every forms.</p>
<p dir="auto">should i change all the "big enough" forms (~50 fields) to be "symfony 2.3" ready ?</p>
<p dir="auto">Update:<br>
Overhead is low with simple forms.<br>
22 fields leads to 770 calls to  findClickedButton in 7.8 micro seconds</p>