gbasis icon indicating copy to clipboard operation
gbasis copied to clipboard

Add profiling capabilities to GBasis

Open msricher opened this issue 1 year ago • 0 comments

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

Related

msricher avatar Jun 26 '24 16:06 msricher