Open
Description
Let's say I have the following code:
def my_view(request):
a = do_a()
with silk_profile("do_b":
b = do_b()
c = do_c()
Currenty I'm getting a profiler dump for the entire my_view
(including all of django's middlewares, asgiref, etc...).
Is there a way to get a profiler dump only for the code that has been wrapped in the silk_profile
context (do_b()
in this case)?
Metadata
Metadata
Assignees
Labels
No labels