schafezp / karmabot

A telegram bot designed for group chats to allow users to upvote and downvote content similar to reddit.
https://schafezp.github.io/karmabot/
MIT License
6 stars 1 forks source link

Add analytics support to profile performance #34

Open schafezp opened 6 years ago

schafezp commented 6 years ago

Currently there are no metrics about which queries take the longest. Latency is not yet an issue but as the database grows the cost of joins increases (log(n)) Having analytics data could help identify which queries are low performance. Consider using something like https://docs.python.org/2/library/profile.html

Sent with GitHawk