Hacker News new | ask | show | jobs
Show HN: Django-Xbench – See DB vs. App Time in Django via Server-Timing Headers (github.com)
1 points by yeongbin05 145 days ago
1 comments

I built this because I often couldn't quickly tell whether slow Django requests were caused by DB queries or application logic in staging or production.

It uses Django's execute_wrapper to measure DB time and exposes the breakdown via Server-Timing headers so you can inspect it directly in browser DevTools.

Feedback is very welcome.