With a response to this post yesterday by Davey Shafik, there's this new post from Wez Furlong with a few comments of his own on benchmarking.
Davey's Cortex framework allows you to pass in either a DSN or an already-instantiated-PDO object to its data object class, and Davey's post claims, quite rightly, that it is faster to not create brand new connections each time you create an instance of his framework objects.
Let's see if we can come up with a slightly more scientific and perhaps more fair set of tests.
I just wanted to follow up on Davey's post about extending PDO, because I think he isn't being very clear about what he's doing (no offence, Davey!)
He gives some code for a series of tests that lead to a similar situation as what Davey was seeing - but with the perspective changed a bit to ask the right question for what Davey was trying to do.




