v0.0.2
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
andgit worktree repair
to the list of emulatedgit 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 intopip uninstall
options forPythonVenvBuilder
. - Refactored and fixed previously wrong logic for mapping commits to git tags.