1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-08 17:42:12 +03:00

Reduce benchtests time

Reduce the total time taken by benchtests.  The malloc thread test takes 4
minutes to run which is significantly more than most other tests. Reduce
this to a more reasonable 40 seconds.  The math tests take 10 seconds each,
eventhough all they do is loop on the same input.  Anything more than 1
second runtime is way overkill, so set the limit to 1 second.

	* benchtests/Makefile (BENCH_DURATION): Set to 1 second.
	* benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
This commit is contained in:
Wilco Dijkstra
2019-04-24 15:38:49 +01:00
parent f9b645b4b0
commit fe92a91f1e
3 changed files with 8 additions and 3 deletions

View File

@@ -31,7 +31,7 @@
#include "json-lib.h"
/* Benchmark duration in seconds. */
#define BENCHMARK_DURATION 60
#define BENCHMARK_DURATION 10
#define RAND_SEED 88
#ifndef NUM_THREADS