0.0.2
A little but useful update:
- Added
argumentsclass to capture positional and keyword arguments for benchmarked functions. Exported it from the package along with a short aliasa. - Added
medianas a@cached_propertytoBenchmarkResult, consistent withp95/p99. - Updated
Scenarioconstructor:nameis now optional and auto-derived fromfunction.__name__;argumentsobject replaces the old positional args parameter. - Expanded CLI output to include
call:,doc:,runs:,median:,p95 mean:,p99 mean:lines, and a FAIL: message when--max-meanis exceeded. - Rewrote all tests from class-based to function-based style. Added new unit, CLI, documentation, and typing tests to cover all the new behaviour.
- Added
printoas an explicit package dependency so it is installed in all environments. - Fixed coverage failure on
Python 3.13/Linuxby adding direct unit tests for theOSErrorfallback path in_fn_call_str, which is unreachable on that platform due to a difference in howgetsourcessignals source-retrieval errors. - Fixed typing test failure on
Python 3.8wheremypyformats optional types asOptional[X]instead ofX | None. Replaced the full expected message with just[arg-type]so the match is version-independent.