perftester
perftester copied to clipboard
A lightweight Python package for performance testing of Python functions.
`perftester` will get a profiling decorator from the `perftester.understand` module. The user will be able to use to to understand the performance behavior of any functions (whether custom or built-in...
Current examples use only overly simplified functions, basically making one thing. Would be good to add a more complex (and thus, more realistic) example, in which several functions create a...
All tests pass in Linux (WSL), but some fail in Windows - this needs to be improved. The situation follows from different uses of memory by different OS-s, but also...
Currently, `MEMLOGS` is a list of `MemLog` elements. `dict(MEMLOGS)` works great only when there are repeated IDs. If there are such, only the last one will be included in the...
In examples, `perftester` is imported as `import perftester as pt`. Should it be imported using its full name?
Add CI flow via GitHub actions.
Add a context manager to benchmark code within the scope of the manager.
There's this `perftester.pp` function, which can be used to report results. But it prints all the results while usually we need a small portion of them. Perhaps we could offer...