Hey guys, I'm trying to do some query timing. I'm working on rails 3 integration, and one of the things it's doing is logging all statements and timing it. Of course, this would need to work with all adapters. Wondering what would be the best way to do this please.
I didn't see anything builtin, so i was thinking of extending the adapter-in-use's #execute method, which would benchmark the super call. something like the following: http://github.com/mooman/rails3_sequel/blob/master/lib/rails3_sequel/railties/benchmarking_mixin.rb this works somewhat, but haven't tested much. im sure there's a better way. any thoughts? thanks everyone! -- You received this message because you are subscribed to the Google Groups "sequel-talk" 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/sequel-talk?hl=en.
