the two approaches are just plain old profile (or hotspot), and just look at the timing for execute(), or for a more comprehensive solution write some timing code around ConnectionProxy, docstring at http://www.sqlalchemy.org/docs/05/sqlalchemy_interfaces.html#docstrings_sqlalchemy.interfaces_ConnectionProxy . (a module like "timeit()", or just using time.time() subtraction with it).
On Aug 29, 2008, at 1:44 PM, qvx wrote: > > Is there a way to record the execution time for all queries issued by > sqlalchemy? > > Thanks, > Tvrtko > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---