mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
tests: make benchmarks less busy
Reduce iterations of the benchmark so that can finish on slower devices.
This commit is contained in:
parent
9acf592e9c
commit
42b1e163d7
2 changed files with 2 additions and 2 deletions
|
|
@ -42,7 +42,7 @@ struct stats {
|
||||||
#define MAX_SAMPLES 4096
|
#define MAX_SAMPLES 4096
|
||||||
#define MAX_CHANNELS 11
|
#define MAX_CHANNELS 11
|
||||||
|
|
||||||
#define MAX_COUNT 1000
|
#define MAX_COUNT 100
|
||||||
|
|
||||||
static uint8_t samp_in[MAX_SAMPLES * MAX_CHANNELS * 4];
|
static uint8_t samp_in[MAX_SAMPLES * MAX_CHANNELS * 4];
|
||||||
static uint8_t samp_out[MAX_SAMPLES * MAX_CHANNELS * 4];
|
static uint8_t samp_out[MAX_SAMPLES * MAX_CHANNELS * 4];
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@
|
||||||
|
|
||||||
#include <spa/utils/dict.h>
|
#include <spa/utils/dict.h>
|
||||||
|
|
||||||
#define MAX_COUNT 1000000
|
#define MAX_COUNT 100000
|
||||||
#define MAX_ITEMS 1000
|
#define MAX_ITEMS 1000
|
||||||
|
|
||||||
static struct spa_dict_item items[MAX_ITEMS];
|
static struct spa_dict_item items[MAX_ITEMS];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue