Phuks-co / throat

Open Source link aggregator and discussion platform powering Phuks
https://phuks.co
MIT License
74 stars 32 forks source link

Log execution times of template rendering and SQL queries #425

Closed happy-river closed 3 years ago

happy-river commented 3 years ago

Log the time it takes to render each template. Add a new logger, app.sql_timing, which logs SQL queries like peewee's logger does with the addition of the execution time of the SQL query.