Re:Show HN: Django-Xbench – See DB vs. App Time in Django vi...
by yeongbin05 on Friday January 30, 2026 @04:05AM
(#46822147)
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.
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.