-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
Log profiling duration to file #9458
Comments
What about imlementing this feature? Indeed, currently there is no way of profiling database queries and other stuff. There is just no enough information. E. g. for database queries, if we enable profile logging, we can see number of queries and queries itself, but we can't find out how much time it was taken to execute a query. What prevents #10045 from merging? |
@cronfy seems I've somehow missed it. Will review for next release. |
@samdark What if use another approach here?
Then everyone will be able to replace profiler with his own implementation. This gives a starting point to solve all "profiler does not work as I need" issues (#8112, #7617, #9458, http://stackoverflow.com/questions/30711195/how-to-profile-a-yii2-based-api/30717856). |
@cronfy sounds like a good plan. |
It is already possible to replace standard |
Resolved via #14611 |
Currently the profiling result is not logged to file (or at least I couldn't figure out how to do that). All I get in my logfiles is something like:
So it's missing the actual profiling information about duration.
The text was updated successfully, but these errors were encountered: