#1510: Time is wasted in Hydration
------------------------------+---------------------------------------------
Reporter: colnector | Owner: romanb
Type: defect | Status: new
Priority: critical | Milestone:
Component: Query/Hydration | Version: 1.0.2
Resolution: | Keywords:
Has_test: 0 | Mystatus: Pending Core Response
Has_patch: 0 |
------------------------------+---------------------------------------------
Comment (by jwage):
Roman, check this out. I remember talking to you about this once upon a
time where array hydration on my system would get slower and slower the
more records it processes and would eventually become slower than record
hydration. You ran the same tests on your system and it did not behave the
same. After playing around with some code changes to eliminate the call to
is_array() without breaking any tests I did some benchmarks and it
eliminates the problem on my system. The hydration goes from over a minute
to under 2 seconds.
--
Ticket URL: <http://trac.doctrine-project.org/ticket/1510#comment:4>
Doctrine <http://www.phpdoctrine.org>
PHP Doctrine Object Relational Mapper
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"doctrine-svn" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.co.uk/group/doctrine-svn?hl=en-GB
-~----------~----~----~----~------~----~------~--~---