jazzband / django-silk

Silky smooth profiling for Django
MIT License
4.35k stars 333 forks source link

Get paginator limit from url params #646

Open strig opened 1 year ago

strig commented 1 year ago

When profiling requests with a huge number of queries sometimes we end up with multiple pages. Since the sql page only sorts current lines it's hard to see all the heaviest queries on one page and there's no way to see more than 200 since the limit is hardcoded.

This will allow the user to specify a page size via URL param e.g. &per_page=300.