Hi,
Is there a way how to measure time of SQL queries being executed?
I am using this to log queries:
DataObjects::Postgres.logger =
DataObjects::Logger.new('sql.log', :debug)
but I would like to see how long does it take to execute each query.
Is that possible? If yes, how?
Stefan
--
You received this message because you are subscribed to the Google Groups
"DataMapper" 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.com/group/datamapper?hl=en.