New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, is it possible to log out how long a individual sql has taken? #488
Comments
well. it's not build in yet (but that would probably be a good idea :)), but you could do var t = +new Date() sequelize.query().success(function(){ Sascha Depold Am Donnerstag, 14. März 2013 um 04:16 schrieb kevin.xu:
|
@sdepold I was thinking of making a new sequelize option called "benchmark" if it's set to true, then instead of showing
it would just show...
I can make it show both of course and change the overall format if you'd like :) Let me know if this is a suitable solution. |
Sounds suitable to me. I would recommend using node-microtime mvh. On Tue, Jun 25, 2013 at 3:13 AM, Daniel Durante notifications@github.comwrote:
|
I was trying to avoid another dependency tbh, if no one minds I can throw it in :) |
Feature #488 : Added benchmarking support in query logs
Revert "Feature #488 : Added benchmarking support in query logs"
Feat #488 : Benchmarks based on the pure JS Date.now()
Hi, is it possible to log out how long a individual sql has taken?
The text was updated successfully, but these errors were encountered: