This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH] benchtests/bench-strtod.c: Increase timeout value
- From: Will Newton <will dot newton at linaro dot org>
- To: libc-alpha at sourceware dot org
- Date: Tue, 25 Mar 2014 16:13:19 +0000
- Subject: [PATCH] benchtests/bench-strtod.c: Increase timeout value
- Authentication-results: sourceware.org; auth=none
This benchmark can take longer than the default 2 seconds on slower
platforms, so increase it to 10 seconds.
ChangeLog:
2014-03-25 Will Newton <will.newton@linaro.org>
* benchtests/bench-strtod.c (TIMEOUT): Define to 10.
---
benchtests/bench-strtod.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/benchtests/bench-strtod.c b/benchtests/bench-strtod.c
index fbe8040..d0c4922 100644
--- a/benchtests/bench-strtod.c
+++ b/benchtests/bench-strtod.c
@@ -26,6 +26,9 @@
#undef INNER_LOOP_ITERS
#define INNER_LOOP_ITERS 65536
+/* On slower platforms this test needs more than the default 2 seconds. */
+#define TIMEOUT 10
+
static const char *inputs[] =
{
"1e308",
--
1.8.1.4