frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Django-Xbench – See DB vs. App Time in Django via Server-Timing Headers

https://github.com/yeongbin05/django-xbench
1•yeongbin05•1w ago

Comments

yeongbin05•1w ago
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.