Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add memory consumption decoder benchmarks #166

Open
scotts opened this issue Aug 7, 2024 · 0 comments
Open

Add memory consumption decoder benchmarks #166

scotts opened this issue Aug 7, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@scotts
Copy link
Contributor

scotts commented Aug 7, 2024

🚀 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:

  1. Measures memory usage of a decoder, both resident set size and virtual size.
  2. Compares TorchCodec to other available open source decoders.
  3. Configurable to be run quickly (less than 5 seconds) for interactive debugging and longer (more than 1 minute) for more formal experiments.
@scotts scotts added the enhancement New feature or request label Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant