Most web frameworks let you know the amount of time that it took to process a certain page request. I’m starting to work with Flask framework now and am very much in need of this information but can’t find any good way of getting it. Using the werkzeug Midleware profiler is an option, but it is very verbose and provides too much information, I would ideally want to see in the basic log output “request info – 0.2s” or whatever the time is. Is there a way of doing this? Also, is there anyway of doing this same thing with SQLite? I.e., getting a count of the number of sqlite calls and their times for a specific request?
Share
You should have a look at
flask-debugtoolbar, it’s basically the same as thedjango-debug-toolbar(if you ever used it) ported toFlask.