Skip to content
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

No Silk profiling was performed for this request. Use the silk_profile decorator/context manager to do so. #147

Closed
danmash opened this issue Nov 13, 2016 · 5 comments

Comments

@danmash
Copy link

danmash commented Nov 13, 2016

Hi, I'm trying to profile django app and can't get any silk profiling.
I followed all your instructions from "installation" docs section.
I added @silk_profile decarators and silk_profile contexts, but page silk/profiling/ is still empty

@avelis
Copy link
Collaborator

avelis commented Nov 14, 2016

@danmash Can you share a little more on your setup? Which request oriented views are you decorating?

@lockie
Copy link
Contributor

lockie commented Nov 16, 2016

@danmash Most probably you've forgotten the SILKY_PYTHON_PROFILER = True setting.

@fwip
Copy link

fwip commented Nov 30, 2016

I was experiencing this issue earlier. For me, it was because I was using the new MIDDLEWARE instead of MIDDLEWARE_CLASSES and didn't notice the difference when looking over the README.
I fixed the issue by installing the latest from master, instead of the most recent release.

@avelis
Copy link
Collaborator

avelis commented Dec 12, 2016

@fwip Is this issue resolved? If so I am going to close it.

If you feel the docs could use an improvement help I encourage a PR.

@fwip
Copy link

fwip commented Dec 13, 2016

Yes, my issue was resolved in a recent release. Thank you!

@avelis avelis closed this as completed Dec 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants