pytorch / torchcodec

PyTorch video decoding
BSD 3-Clause "New" or "Revised" License
77 stars 9 forks source link

New samplers benchmark #248

Closed NicolasHug closed 1 month ago

NicolasHug commented 1 month ago

This PR replaces the existing samplers benchmark (old, using the private and deprecated samplers). The new benchmark is the one that was used in https://github.com/pytorch/torchcodec/pull/245

Test:

~/dev/torchcodec (benchmark_samplers*) » python benchmarks/samplers/benchmark_samplers.py   
med = 36.88ms +- 8.55
med = 289.40ms +- 273.97