jazzband / django-silk

Silky smooth profiling for Django
MIT License
4.32k stars 333 forks source link

Not compatible with Google App Engine Standard environment #178

Open guidedways opened 7 years ago

guidedways commented 7 years ago

Sadly this library relies on another third-party which installs some markupsafe/_speedups.so native code. Google App Engine Standard environment does not allow installation of native code. Is it possible to update Silk to be GAE compatible?

avelis commented 7 years ago

@guidedways thanks for bringing this to my attention. Always open to expanding this libraries compatibility. Do you which library specifically installs the native code?

guidedways commented 7 years ago

Thanks for the prompt reply - I'm not sure to be honest. I had a bunch of requirements in my own app and I disabled them all, enabled each one by one to find out which one's installing it. Turned out to be Silk - made me sad since I really enjoyed using it. Had to remove it for now as GAE's Standard environment is a pain to deal with, pure python only code allowed. You may need to do the same, disable all requirements and pip install -t lib multiple times to find out which one's installing it in the local lib folder (the -t lib flag installs all requirements into a local lib folder). In between each install I would run find ./lib/ -name *.so -print to see if any library installed native code.