1
0
mirror of synced 2025-02-03 05:49:25 +03:00

Renaming bench methods, for clarity

This commit is contained in:
Marco Pivetta 2016-05-26 21:04:35 +02:00 committed by Luís Cobucci
parent 0fdcc71887
commit f23359c1f3
No known key found for this signature in database
GPG Key ID: EC61C5F01750ED3C
4 changed files with 4 additions and 4 deletions

View File

@ -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);
} }

View File

@ -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();
} }

View File

@ -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);
} }

View File

@ -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);
} }