use Symfony\Component\Form\Test\FormPerformanceTestCase;
use Symfony\Component\Validator\Validation;
/**
* @author Bernhard Schussek <bschussek@gmail.com>
*/
class FormValidatorPerformanceTest extends FormPerformanceTestCase
{ protected function getExtensions() { return [ new ValidatorExtension(Validation::
createValidator(), false
),
];
} /**
* findClickedButton() used to have an exponential number of calls.
*
* @group benchmark
*/
public function testValidationPerformance() { $this->
setMaxRunningTime(1
);