gbasis
gbasis copied to clipboard
Add profiling capabilities to GBasis
Add profiling capabilities to GBasis. By running py.test [FILES] --profile or py.test [FILES] --profile-svg, the test that is ran will be profiled and profile information (.prof) and optionally a heat map in .svg format will be generated in prof/.
pip install .[test] will now pull in the required libraries for this to work.
Checklist
- [x] Write a good description of what the PR does.
- [x] Add tests for each unit of code added (e.g. function, class)
- [x] Update documentation
- [x] Squash commits that can be grouped together
- [x] Rebase onto master
Type of Changes
| Type | |
|---|---|
| ✓ | :bug: Bug fix |
| ✓ | :sparkles: New feature |
| ✓ | :hammer: Refactoring |
| ✓ | :scroll: Docs |