django-xbench update: slow endpoint aggregation and lightweight performance monitoring

Hi everyone!

I shared a small Django middleware called django-xbench here a while ago. I’ve been working on it quite a bit since then and just released a new version with some updates I thought were worth sharing.

The goal remains simple: when a request feels slow is it the database or the application logic (serialization, templates, etc.)?

It measures request timing and exposes the breakdown using the standard Server-Timing header. This means you can inspect performance directly from browser DevTools or any HTTP client without needing a full APM agent or SaaS setup.

Previously it focused on per-request timing.
But that makes it hard to see trends
for example which endpoints are consistently slow over time.

What’s new in this version:

• Slow endpoint aggregation
Keeps an in-memory rolling window of timings so you can see which endpoints are repeatedly slow.

• Simple dashboard (experimental)
A lightweight view showing recent slow endpoints and basic performance trends.

Installation:
pip install django-xbench

GitHub:
https://github.com/yeongbin05/django-xbench

I’d love to hear how people handle lightweight performance monitoring in real-world setups especially when full APM tools feel like overkill.

Thanks!