top | item 46822134

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

1 points| yeongbin05 | 1 month ago |github.com

1 comment

order

yeongbin05|1 month 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.