gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] 02/02: perf_get_concurrent: reduce number of iteration o


From: gnunet
Subject: [libmicrohttpd] 02/02: perf_get_concurrent: reduce number of iteration on W32 as free ports are quickly excused on W32 with large amount of CPU cores
Date: Thu, 24 Sep 2020 16:02:19 +0200

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit efd1dd05f42d5934494dbda4f63328b8f1080427
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Thu Sep 24 16:55:10 2020 +0300

    perf_get_concurrent: reduce number of iteration on W32 as free ports
    are quickly excused on W32 with large amount of CPU cores
---
 src/testcurl/perf_get_concurrent.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/testcurl/perf_get_concurrent.c 
b/src/testcurl/perf_get_concurrent.c
index 0471143c..a0c5ebb1 100644
--- a/src/testcurl/perf_get_concurrent.c
+++ b/src/testcurl/perf_get_concurrent.c
@@ -56,7 +56,11 @@
  * Ensure that free ports are not exhausted during test.
  */
 #if CPU_COUNT > 8
+#ifndef _WIN32
 #define ROUNDS (1 + (30000 / 12) / CPU_COUNT)
+#else /* _WIN32 */
+#define ROUNDS (1 + (10000 / 12) / CPU_COUNT)
+#endif /* _WIN32 */
 #else
 #define ROUNDS 500
 #endif

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]