[fw-general] Re: ZF2 - Performance with Doctrine Paginator

2013-05-08 Thread Griesi
I must correct myself. The itemsPerPage did not match :-(  Having this
corrected the performance increase is acceptable when compared to the
benefits



--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/ZF2-Performance-with-Doctrine-Paginator-tp4659953p4659955.html
Sent from the Zend Framework mailing list archive at Nabble.com.

-- 
List: fw-general@lists.zend.com
Info: http://framework.zend.com/archives
Unsubscribe: fw-general-unsubscr...@lists.zend.com




[fw-general] Re: ZF2 - Performance with Doctrine Paginator

2013-05-08 Thread Griesi
I further tracked this down. In case of Paginator I can see in the profiler
that the hydration occurs twice for the result set
(Doctrine\ORM\Internal\Hydration\ObjectHydrator->hydrateRowData): Without
paginator the method is called 35 times. With paginator it is called 60
times (35 + 25 results per Page).



--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/ZF2-Performance-with-Doctrine-Paginator-tp4659953p4659954.html
Sent from the Zend Framework mailing list archive at Nabble.com.

-- 
List: fw-general@lists.zend.com
Info: http://framework.zend.com/archives
Unsubscribe: fw-general-unsubscr...@lists.zend.com