aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/test_post_loop.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcurl/test_post_loop.c')
-rw-r--r--src/testcurl/test_post_loop.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/testcurl/test_post_loop.c b/src/testcurl/test_post_loop.c
index f9238faa..dbfd170d 100644
--- a/src/testcurl/test_post_loop.c
+++ b/src/testcurl/test_post_loop.c
@@ -33,7 +33,6 @@
33#include <stdlib.h> 33#include <stdlib.h>
34#include <string.h> 34#include <string.h>
35#include <time.h> 35#include <time.h>
36#include "gauger.h"
37#include "mhd_has_in_name.h" 36#include "mhd_has_in_name.h"
38 37
39#ifndef WINDOWS 38#ifndef WINDOWS
@@ -642,11 +641,6 @@ main (int argc, char *const *argv)
642 "%s: Sequential POSTs (http/1.0) %f/s\n", 641 "%s: Sequential POSTs (http/1.0) %f/s\n",
643 "internal select", 642 "internal select",
644 (double) 1000 * LOOPCOUNT / (now () - start_time + 1.0)); 643 (double) 1000 * LOOPCOUNT / (now () - start_time + 1.0));
645 GAUGER ("internal select",
646 oneone ? "Sequential POSTs (http/1.1)" :
647 "Sequential POSTs (http/1.0)",
648 (double) 1000 * LOOPCOUNT / (now () - start_time + 1.0),
649 "requests/s");
650 start_time = now (); 644 start_time = now ();
651 errorCount += testMultithreadedPost (); 645 errorCount += testMultithreadedPost ();
652 fprintf (stderr, 646 fprintf (stderr,
@@ -654,11 +648,6 @@ main (int argc, char *const *argv)
654 "%s: Sequential POSTs (http/1.0) %f/s\n", 648 "%s: Sequential POSTs (http/1.0) %f/s\n",
655 "multithreaded post", 649 "multithreaded post",
656 (double) 1000 * LOOPCOUNT / (now () - start_time + 1.0)); 650 (double) 1000 * LOOPCOUNT / (now () - start_time + 1.0));
657 GAUGER ("Multithreaded select",
658 oneone ? "Sequential POSTs (http/1.1)" :
659 "Sequential POSTs (http/1.0)",
660 (double) 1000 * LOOPCOUNT / (now () - start_time + 1.0),
661 "requests/s");
662 start_time = now (); 651 start_time = now ();
663 errorCount += testMultithreadedPoolPost (); 652 errorCount += testMultithreadedPoolPost ();
664 fprintf (stderr, 653 fprintf (stderr,
@@ -666,11 +655,6 @@ main (int argc, char *const *argv)
666 "%s: Sequential POSTs (http/1.0) %f/s\n", 655 "%s: Sequential POSTs (http/1.0) %f/s\n",
667 "thread with pool", 656 "thread with pool",
668 (double) 1000 * LOOPCOUNT / (now () - start_time + 1.0)); 657 (double) 1000 * LOOPCOUNT / (now () - start_time + 1.0));
669 GAUGER ("thread with pool",
670 oneone ? "Sequential POSTs (http/1.1)" :
671 "Sequential POSTs (http/1.0)",
672 (double) 1000 * LOOPCOUNT / (now () - start_time + 1.0),
673 "requests/s");
674 } 658 }
675 start_time = now (); 659 start_time = now ();
676 errorCount += testExternalPost (); 660 errorCount += testExternalPost ();
@@ -679,11 +663,6 @@ main (int argc, char *const *argv)
679 "%s: Sequential POSTs (http/1.0) %f/s\n", 663 "%s: Sequential POSTs (http/1.0) %f/s\n",
680 "external select", 664 "external select",
681 (double) 1000 * LOOPCOUNT / (now () - start_time + 1.0)); 665 (double) 1000 * LOOPCOUNT / (now () - start_time + 1.0));
682 GAUGER ("external select",
683 oneone ? "Sequential POSTs (http/1.1)" :
684 "Sequential POSTs (http/1.0)",
685 (double) 1000 * LOOPCOUNT / (now () - start_time + 1.0),
686 "requests/s");
687 if (errorCount != 0) 666 if (errorCount != 0)
688 fprintf (stderr, "Error (code: %u)\n", errorCount); 667 fprintf (stderr, "Error (code: %u)\n", errorCount);
689 curl_global_cleanup (); 668 curl_global_cleanup ();