Renaming bench methods, for clarity
This commit is contained in:
parent
0fdcc71887
commit
f23359c1f3
@ -86,7 +86,7 @@ final class MixedQueryFetchJoinArrayHydrationPerformanceBench
|
|||||||
$this->rsm->addFieldResult('p', 'p__phonenumber', 'phonenumber');
|
$this->rsm->addFieldResult('p', 'p__phonenumber', 'phonenumber');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function benchSimpleQueryScalarHydrationPerformance()
|
public function benchHydration()
|
||||||
{
|
{
|
||||||
$this->hydrator->hydrateAll($this->stmt, $this->rsm);
|
$this->hydrator->hydrateAll($this->stmt, $this->rsm);
|
||||||
}
|
}
|
||||||
|
@ -51,7 +51,7 @@ final class SimpleHydrationBench
|
|||||||
$this->repository = $this->entityManager->getRepository(CmsUser::class);
|
$this->repository = $this->entityManager->getRepository(CmsUser::class);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function benchSimpleFindOperationHydration()
|
public function benchHydration()
|
||||||
{
|
{
|
||||||
$this->repository->findAll();
|
$this->repository->findAll();
|
||||||
}
|
}
|
||||||
|
@ -75,7 +75,7 @@ final class SimpleQueryArrayHydrationPerformanceBench
|
|||||||
$this->rsm->addFieldResult('u', 'u__name', 'name');
|
$this->rsm->addFieldResult('u', 'u__name', 'name');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function benchSimpleQueryScalarHydrationPerformance()
|
public function benchHydration()
|
||||||
{
|
{
|
||||||
$this->hydrator->hydrateAll($this->stmt, $this->rsm);
|
$this->hydrator->hydrateAll($this->stmt, $this->rsm);
|
||||||
}
|
}
|
||||||
|
@ -75,7 +75,7 @@ final class SimpleQueryScalarHydrationPerformanceBench
|
|||||||
$this->rsm->addFieldResult('u', 'u__name', 'name');
|
$this->rsm->addFieldResult('u', 'u__name', 'name');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function benchSimpleQueryScalarHydrationPerformance()
|
public function benchHydration()
|
||||||
{
|
{
|
||||||
$this->hydrator->hydrateAll($this->stmt, $this->rsm);
|
$this->hydrator->hydrateAll($this->stmt, $this->rsm);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user