-
-
Notifications
You must be signed in to change notification settings - Fork 337
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Profiling management commands #327
Comments
Finally, i just came with this solution: https://gist.github.com/Leryan/ac3b9645c4a0e6f7ee6e719fcb503bf8 |
Hi @FlorentPeterschmitt, the gist you linked doesn't exist anymore. Do you still have it somewhere? I would be interested in it. It's too bad that profiling isn't currently available for executions without a request. |
@gitaarik Hey buddy, did you figure out the solution? |
@ZeroCoolHacker No I can't remember I continued on this |
Hello,
I see from Silk's code that profiling using
with silk_profile():
will not work at all because of_should_profile()
checking for therequest
object to be not None.Is there any way to get silk to perform profiling on management commands?
Edit : diving more into the code shows me that it would require a PR for such a feature. Would that be of any interest for this project?
Many thanks
The text was updated successfully, but these errors were encountered: