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
--- a/src/tests/measure_sorting.c
+++ b/src/tests/measure_sorting.c
@@ -74,7 +74,7 @@
{
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);
@@ -90,7 +90,7 @@
void MeasureBig()
{
- int datasize = 30000000;
+ int datasize = 300000;
fprintf(stdout, "== large dataset (%d elements, same for each)\n", datasize);
|