Lengthen test_compression.sh material for benchmarking on CI
This is necessary to compare CI WITH_ASM=1 and WITH_ASM=0 to be able to check whether this switch does anything
This commit is contained in:
parent
e3a9212bfc
commit
cda987f7c5
@ -6,7 +6,7 @@ jobs:
|
||||
dist: focal
|
||||
arch: arm64
|
||||
compiler: gcc
|
||||
env: BUILD_SYSTEM="cmake" CONFIGURE_OPTS=-DFLAC__NO_ASM=1
|
||||
env: BUILD_SYSTEM="cmake" CONFIGURE_OPTS=-DWITH_ASM=0
|
||||
- os: linux
|
||||
dist: focal
|
||||
arch: arm64
|
||||
@ -31,7 +31,7 @@ jobs:
|
||||
dist: focal
|
||||
arch: ppc64le
|
||||
compiler: gcc
|
||||
env: BUILD_SYSTEM="cmake" CONFIGURE_OPTS=-DFLAC__NO_ASM=1
|
||||
env: BUILD_SYSTEM="cmake" CONFIGURE_OPTS=-DWITH_ASM=0
|
||||
- os: linux
|
||||
dist: focal
|
||||
arch: ppc64le
|
||||
|
@ -956,14 +956,15 @@ static FLAC__bool generate_noisy_sine(void)
|
||||
int64_t randstate = 0x1243456;
|
||||
double sample, last_val = 0.0;
|
||||
int k;
|
||||
int seconds = 300;
|
||||
|
||||
if(0 == (f = fopen("noisy-sine.wav", "wb")))
|
||||
return false;
|
||||
|
||||
if(!write_simple_wavex_header (f, 44100, 1, 2, 220500))
|
||||
if(!write_simple_wavex_header (f, 44100, 1, 2, 44100*seconds))
|
||||
goto foo;
|
||||
|
||||
for (k = 0 ; k < 5 * 44100 ; k++) {
|
||||
for (k = 0 ; k < seconds * 44100 ; k++) {
|
||||
/* Obvioulsy not a crypto quality RNG. */
|
||||
randstate = 11117 * randstate + 211231;
|
||||
randstate = 11117 * randstate + 211231;
|
||||
|
Loading…
Reference in New Issue
Block a user