[Feature Request] Include memory consumption in benchmark results
Hi, some codec's high compression level may consume a a lot of memory. Is it possible to include memory consumption in benchmark results?
Also, -z means compression time instead of speed. The benchmark process can be interrupted by other processes, is it possible to include cpu time, which better indicates cpu consumption?
Hi, these are good ideas.
The memory consumption is hard to do as each compressor uses it's own memory allocation which needs to be tracked.
Maybe measure whole program usage before and during run of a the codec and simply subtract? I know it's simple, to not say primitive but this way you get approximate value of memory usage without knowledge of the running codec.