Open
Description
🚀 The feature
We currently have a benchmark that's main purpose is to detect memory leaks: memprofile_decoders.py. While it does report total memory usage for TorchCodec, that's not its purpose.
What we would have, ideally, is a benchmark that meets the following purposes:
- Measures memory usage of a decoder, both resident set size and virtual size.
- Compares TorchCodec to other available open source decoders.
- Configurable to be run quickly (less than 5 seconds) for interactive debugging and longer (more than 1 minute) for more formal experiments.