1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
Reduce the test functions runtime to avoid timeout in som slow builds
--- siril.orig/src/tests/measure_sorting.c
+++ siril/src/tests/measure_sorting.c
@@ -94,7 +94,7 @@ void MeasureSmall()
{
int datasize = 8;
int nb_draws = 100;
- int nb_times_each = 200000;
+ int nb_times_each = 2000;
fprintf(stdout, "== small dataset (%d elements, %d different draws run %d times)\n",
datasize, nb_draws, nb_times_each);
@@ -110,7 +110,7 @@ void MeasureSmall()
void MeasureBig()
{
- int datasize = 30000000;
+ int datasize = 300000;
fprintf(stdout, "== large dataset (%d elements, same for each)\n", datasize);
|