mcrumm / phoenix_profiler

Web Profiler and Debug Toolbar for Phoenix Framework
MIT License
202 stars 6 forks source link

Profile Ecto queries #12

Open mcrumm opened 3 years ago

leandrocp commented 3 years ago

Hey @mcrumm do you mind giving more info about this issue? Thanks!

mcrumm commented 3 years ago

I would like to be able to gather the ecto queries that occurred as a result of the request being profiled. This can happen in two parts. We can start with the dead render, and collect the queries that occurred before send. Tracking queries within debug sessions will get a bit more difficult because they will span multiple pages but it should still be doable.