-
Notifications
You must be signed in to change notification settings - Fork 89
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
Added py-spy sampling feature. #195
Conversation
Fixed issue where cookiecutter.json file would generate in new projects even thou its not needed. I removed the cookiecutter.json file from `templates/{{cookiecutter.project_name}}` before buidling.
Implemented the use of py-spy to the project.
Please remove cookiecutter.json in ur pull request. |
Could u add a svg file which was generated by profile command? 😀 |
Take a look at the .svg that was generated. Just need to download and open it in your favorite browser :) |
Pull Request Edits
u have removed |
Ah snap, my bad there. Let me get that sorted. |
Re-added deleted cookiecutter.json
Great, thx so m 😀 |
What do these changes do?
Adds the py-spy sampling feature to the project
Are there changes in behavior for the user?
make profile: tells py-spy to profile your running application for 60 seconds. It will generate a .svg in the root of the project directory. sampling duration can be modified by using the TIME variable. eg: make profile TIME=120
Related issue number
Issue #58
Checklist
CHANGES
folder58.enhancement
issue_id
change it to the pr id after creating the PR.feature
: Signifying a new feature..bugfix
: Signifying a bug fix..doc
: Signifying a documentation improvement..removal
: Signifying a deprecation or removal of public API..misc
: A ticket has been closed, but it is not of interest to users.Fix issue with non-ascii contents in doctest text files.
View rendered README.md