flask-profile
flask-profile copied to clipboard
Support werkzeug profiler middleware for more detailed run-time breakdown
Being able to see what endpoints are slow is useful, but knowing why they are slow would be helpful too. Werkzeug already has profiler middleware that handles this, it supports writing to an arbitrary file-like object, so it would be easy to save its output to a text field in the flask-profile database.