Create micro-benchmarks for audio codecs #753
Labels
benchmarks
Benchmarks and micro-benchmarks
codecs
Audio and FEC codecs
easy hacks
The solution is expected to be straightforward even if you are new to the project
help wanted
An important and awaited task but we have no human resources for it yet
We have two interfaces for audio codecs: IFrameEncoder and IFrameDecoder. Currently, they have just two implementations: PcmEncoder and PcmDecoder. Later we'll add more.
We want to add a benchmark that measures performance of encoder and decoder, as number of processed samples per second.
Codecs benchmarks should be able to iterate an list of available codecs and measure each one, like we're doing it in codecs tests here: test_frame_encoder_decoder.cpp.
We use Google Benchmark. To add a new benchmark, just create a new file
bench_FOO.cpp
insrc/tests/MODULE_NAME
(roc_audio
in this case). Here are examples of existing micro-benchmarks: 1, 2. You can find details on building and running benchmarks here.The text was updated successfully, but these errors were encountered: