Skip to content

Excessive number of queries in class method profile #240

Closed
@blairg23

Description

I have a method that has 2 Django ORM queries inside it. I created one Silk profile on this method and ran a request. The profile says this method took 2621 queries. When I peek inside the queries details, it shows queries that have nothing to do with the method I am profiling. This is on my local machine. When I look at the dev machine, it shows over 39k queries for the same method! Also, none of the queries shown are related to the method in question... am I missing something or is there a bug in the query profiling code?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions