pyinstrument
pyinstrument copied to clipboard
Set interval via Django settings
Allows to configure the profiler interval when using the Django middleware via the PYINSTRUMENT_INTERVAL variable in settings.py.
Bonus track: Adds an user-agent in demo_scripts/wikipedia_article_word_count.py to avoid a 403 response (it seems Wikipedia filters the default UA) and fixes the docs.
Closes #417