mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
spa: tests: Add an offline AEC benchmark
This commit is contained in:
parent
dcdb88d7b7
commit
a4ec02f9d7
2 changed files with 403 additions and 6 deletions
|
|
@ -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,
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue