django-query-profiler

Django query profiler - one profiler to rule them all. Shows queries, detects N+1 and gives recommendations on how to resolve them (by django-query-profiler)

Django-query-profiler Alternatives

Similar projects and alternatives to django-query-profiler

  1. FrameworkBenchmarks

    Source for the TechEmpower Framework Benchmarks project

  2. Judoscale

    Save 47% on cloud hosting with autoscaling that just works. Judoscale integrates with Django, FastAPI, Celery, and RQ to make autoscaling easy and reliable. Save big, and say goodbye to request timeouts and backed-up task queues.

    Judoscale logo
  3. Protobuf

    Protocol Buffers - Google's data interchange format

  4. sqlc

    Generate type-safe code from SQL

  5. azure-docs

    Open source documentation of Microsoft Azure

  6. cryptogalaxy

    Discontinued Get any cryptocurrencies ticker and trade data in real time from multiple exchanges and then save it in multiple storage systems.

  7. django-silk

    Silky smooth profiling for Django

  8. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  9. sqlbind

    Lightweight text-based SQL parameter binds

  10. Django-CRM

    Open Source CRM based on Django

  11. Norm

    The SQL generation library you already know how to use. (by justinvanwinkle)

  12. sql-athame

    Python tool for slicing and dicing SQL

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better django-query-profiler alternative or higher similarity.

django-query-profiler discussion

Log in or Post with

django-query-profiler reviews and mentions

Posts with mentions or reviews of django-query-profiler. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-26.
  • Show HN: Sqlbind a Python library to compose raw SQL
    7 projects | news.ycombinator.com | 26 Feb 2024
    But that's still not backend-specific SQL?

    There should be an interface method for this. Why does psycopg call it mogrify?

    https://django-debug-toolbar.readthedocs.io/en/latest/panels... :

    > debug_toolbar.panels.sql.SQLPanel: SQL queries including time to execute and links to EXPLAIN each query

    But debug toolbars mostly don't work with APIs.

    https://github.com/django-query-profiler/django-query-profil... :

    > Django query profiler - one profiler to rule them all. Shows queries, detects N+1 and gives recommendations on how to resolve them

    https://github.com/jazzband/django-silk :

    > Silk is a live profiling and inspection tool for the Django framework. Silk intercepts and stores HTTP requests and database queries before presenting them in a user interface for further inspection

  • My £4 a month server can handle 4.2M requests a day
    6 projects | news.ycombinator.com | 7 Sep 2021
    I agree that this stuff can definitely be handled better.

    https://github.com/django-query-profiler/django-query-profil... has a neat option for detecting likely N+1 queries. I usually use the Django Debug Toolbar for this.

    Django's ".only()" method lets you specify just the columns you want to retrieve - with the downside that any additional property access can trigger another SQL query. I thought I'd seen code somewhere that can turn those into errors but I'm failing to dig it up again now.

    I've used the assertNumQueries() assertion in tests to guard against future changes that accidentally increase the number of queries being made without me intending that.

    The points you raise are valid, but there are various levels of mitigations for them. Always room for improvement though!

  • Optimizing Django ORM SQL Queries
    2 projects | /r/django | 13 Apr 2021
    If you are trying to optimize for N+1 queries, django query profiler is another cool profiler. It is very simple to configure (requires changing 3-4 lines in your settings.py file), and works the same way with a chrome plugin and the command line.
  • A note from our sponsor - InfluxDB
    influxdata.com | 25 Apr 2025
    Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems. Learn more →

Stats

Basic django-query-profiler repo stats
3
140
0.0
over 2 years ago

Sponsored
Save 47% on cloud hosting with autoscaling that just works
Judoscale integrates with Django, FastAPI, Celery, and RQ to make autoscaling easy and reliable. Save big, and say goodbye to request timeouts and backed-up task queues.
judoscale.com