pytest-monitor v1.6.4 releases: Pytest plugin for analyzing resource usage
Pytest-monitor is a pytest plugin designed for analyzing resource usage.
Thanks to pytest-monitor, you can check resource consumption in particular through continuous integration, as this is done by monitoring the consumption of test functions. These tests can be functional (as usual) or be dedicated to resource consumption checks.
- Analyze your resources consumption through test functions:
- memory consumption
- time duration
- CPU usage
- Keep a history of your resource consumption measurements.
- Compare how your code behaves between different environments.
Examples of use cases include technical stack updates and code evolutions.
Technical stack updates
In the Python world, libraries often depend on several packages. By updating some (or all) of the dependencies, you update code that you do not own and therefore do not control. Tracking your application’s resource footprint can prevent unwanted resource consumption, and can thus validate the versions of the packages that you depend on.
Extending your application with new features, or fixing its bugs, might have an impact on the core of your program. The performance of large applications or libraries can be difficult to assess, but by monitoring resource consumption, pytest-monitor allows you to check that despite code updates, the performance of your code remains within desirable limits.
- #56 Fixed a bug that causes pytest-monitor to crash if unable to fetch the CPU Frequency from the system
- #54 Extracting info from Perforce was not able to deal with unicode characters.
Copyright (c) 2020 Capital Fund Management