It is trivial to compute the elapsed time for a query by simply comparing
start and end time of it. Check the DebugStack logger for reference:

https://github.com/doctrine/dbal/blob/149f18001a459c22e1f2a87903e455eb89c1b4de/lib/Doctrine/DBAL/Logging/DebugStack.php

Marco Pivetta

http://twitter.com/Ocramius

http://ocramius.github.com/


On 27 February 2014 13:23, Nima Sadjadi <[email protected]> wrote:

> Doctrine1 had a profiler like v2. EchoSQLLogger. But v1. profiler had
> ->getElapsedTime() too. I did look at API and it seems debugger of v2.
> doesn't have this useful ability any more? Why it is removed from v2 or I
> missed something?
>
> --
> You received this message because you are subscribed to the Google Groups
> "doctrine-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/doctrine-user.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to