Skip to content

v0.0.2

Compare
Choose a tag to compare
@nicholasjng nicholasjng released this 09 Nov 20:41
· 88 commits to master since this release

This release of pybm contains some bugfixes and some new features.

New features:

  • Implemented running benchmarks as modules via pybm run -m, for benchmarking code outside of an installed package. #4
  • Implemented reductions of benchmark repetitions into descriptive statistics. #5
  • Implemented checkout mode (pybm run --checkout), foregoing git worktree creation when there are no custom requirements necessitating siloed environments. #11
  • Added git worktree move and git worktree repair to the list of emulated git worktree commands, allowing to rename a worktree after switching checkouts. #14, #15
  • Added an end-to-end test GitHub Action for the pybm introductory example. #15
  • Formatted the whole repository with psf/black, as well as adding a pre-commit hook for it. #15
  • Added dynamic option sourcing and grouping for builder, runner and reporter interfaces. #16

Bugs:

  • Fixed multiple setup bugs preventing installation on Python 3.7 (thanks to @YPFoerster for the report).
  • Fixed a bug preventing package uninstalls by adding the -y flag into pip uninstall options for PythonVenvBuilder.
  • Refactored and fixed previously wrong logic for mapping commits to git tags.