spa: tests: Add an offline AEC benchmark

This commit is contained in:
Arun Raghavan 2025-10-06 17:51:16 -07:00 committed by Arun Raghavan
parent dcdb88d7b7
commit a4ec02f9d7
2 changed files with 403 additions and 6 deletions

View file

@ -28,15 +28,22 @@ if find.found()
endif
benchmark_apps = [
'stress-ringbuffer',
'benchmark-pod',
'benchmark-dict',
['stress-ringbuffer', []],
['benchmark-pod', []],
['benchmark-dict', []],
]
if sndfile_dep.found()
benchmark_apps += [
['benchmark-aec', [sndfile_dep]]
]
endif
foreach a : benchmark_apps
benchmark('spa-' + a,
executable('spa-' + a, a + '.c',
dependencies : [ spa_dep, dl_lib, pthread_lib, mathlib ],
benchmark('spa-' + a[0],
executable('spa-' + a[0], a[0] + '.c',
dependencies : [ spa_dep, dl_lib, pthread_lib, mathlib ] + a[1],
include_directories : [configinc],
install : installed_tests_enabled,
install_dir : installed_tests_execdir,
),