Releases: nyggus/perftester
Remove memory tracer
Memory tracer from the memtrace module have been moved to a separate Python package called tracemem. This made the tracer lighter, so session measurements are themselves lighter and do not contain unnecessary memory taken by perftester.
Bugfix: Use MB only
This release comes with a bugfix. The results of memory_profiler.memory_usage() are provided as MiB while those of pympler.asizeof.asizeof() as MB. Hence the data are unified in a way that all the results are provided as MB.
Improved doctesting
This release comes with improved doctesting and minor bugfixes.
Full-memory tracer improved
In the full memory tracer, warnings from pympler.asizeof.asizeof() are caught.
Full-memory tracer
This is a beta release of perftester's new feature: full-memory tracer. It can be used to study full memory of all objects in the global and local scopes.
No guarantees that the API of the feature will not change.
Unfix versions
Unfix package versions. We had problems with Python 3.11, which did not work with memory_profiler v. 0.60.0. It's safer to use the current version of memory_profiler than to update them anytime some dependency changes its version.
Consistent arguments
This release comes with a new approach to changing settings (number and repeat) in config. They can be done now using Number and Repeat arguments (starting with an upper case). This is consistent with benchmarking and testing functions. For some time, for backward compatibility, the previous arguments number and repeat can be used too.
Improved traceback handling
Before, the default behavior of the package was to cut traceback and enable the user to change this behavior to show full traceback. This is no good since if one conducts some benchmarks, full traceback should be enabled.
Now the default behavior is to show full traceback, with one exception: during performance testing, traceback is cut, but in all other situations (outside of performance tests), full traceback is shown.
The first release
The is the first official release of perftester, a package for performance testing of Python functions.