Releases: JoaoBrlt/simple-profile
Releases · JoaoBrlt/simple-profile
v1.1.2
v1.1.1
Changelog:
- Fix time and memory unit conversion (invalid unit scales).
- Automatically select the most suitable units by default.
- Add a
enable_gc
argument to enable garbage collection during time measurements. - Add a GitHub Actions workflow to validate the package build on every modification.
v1.1.0
Changelog:
- Restructure the package to improve maintainability.
- Rename the default decorator back to
@simple_profile()
to avoid conflicts. - Change the default time unit to nanoseconds.
- Change the default memory unit to bytes.
- Add
precision
,time_precision
andmemory_precision
arguments to set the precision of log values. - Add
print_args
andprint_result
arguments to log the functions arguments and result. - Add a
separator
argument to change the separator to use between log values. - Rename
time_unit
andmemory_unit
arguments tounit
when possible to improve readability. - Document the package.