1
0
mirror of synced 2025-02-09 00:39:25 +03:00

Not a performance test

This commit is contained in:
Marco Pivetta 2016-05-26 20:17:30 +02:00 committed by Luís Cobucci
parent 9826d9c29a
commit c8a41598c9
No known key found for this signature in database
GPG Key ID: EC61C5F01750ED3C

View File

@ -8,7 +8,6 @@ use Doctrine\ORM\Events;
use Doctrine\Tests\OrmPerformanceTestCase;
/**
* @group performance
* @group DDC-2602
*/
class DDC2602Test extends OrmPerformanceTestCase
@ -51,14 +50,10 @@ class DDC2602Test extends OrmPerformanceTestCase
// Set maximum seconds this can run
$this->setMaxRunningTime(1);
$s = microtime(true);
$query = $this->_em->createQuery('SELECT u, b FROM Doctrine\Tests\ORM\Performance\DDC2602User u JOIN u.biography b');
$query->getResult();
$e = microtime(true);
echo __FUNCTION__ . " - " . ($e - $s) . " seconds" . PHP_EOL;
$this
->_em
->createQuery('SELECT u, b FROM Doctrine\Tests\ORM\Performance\DDC2602User u JOIN u.biography b')
->getResult();
}
private function loadFixture()