httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ic...@apache.org
Subject svn commit: r1712301 - /httpd/test/mod_h2/trunk/Makefile.am
Date Tue, 03 Nov 2015 14:35:00 GMT
Author: icing
Date: Tue Nov  3 14:34:59 2015
New Revision: 1712301

URL: http://svn.apache.org/viewvc?rev=1712301&view=rev
Log:
adding h2c load test cases

Modified:
    httpd/test/mod_h2/trunk/Makefile.am

Modified: httpd/test/mod_h2/trunk/Makefile.am
URL: http://svn.apache.org/viewvc/httpd/test/mod_h2/trunk/Makefile.am?rev=1712301&r1=1712300&r2=1712301&view=diff
==============================================================================
--- httpd/test/mod_h2/trunk/Makefile.am (original)
+++ httpd/test/mod_h2/trunk/Makefile.am Tue Nov  3 14:34:59 2015
@@ -192,19 +192,21 @@ test2.4: \
 # Load Test
 #
 
-$(GEN)/load-urls-1.txt: \
-		test/load-urls-1.txt
+$(GEN)/load-urls-1.txt: test/load-urls-1.txt
 	@mkdir -p $(GEN)/tmp
 	@sed -e "s,SUBST_AUTH_SUBST,https://$(HTTPS_AUTH)," < test/load-urls-1.txt >$(GEN)/load-urls-1.txt
 
-$(GEN)/load-urls-2.txt: \
-		test/load-urls-1.txt
+$(GEN)/load-h2c-urls-1.txt: test/load-urls-1.txt
+	@mkdir -p $(GEN)/tmp
+	@sed -e "s,SUBST_AUTH_SUBST,http://$(HTTP_AUTH)," < test/load-urls-1.txt >$(GEN)/load-h2c-urls-1.txt
+
+$(GEN)/load-urls-2.txt: test/load-urls-1.txt
 	@mkdir -p $(GEN)/tmp
 	@sed -e "s,SUBST_AUTH_SUBST,http://$(HTTP_AUTH)," < test/load-urls-1.txt >$(GEN)/load-urls-2.txt
 
 MAX_STREAMS = 100
 
-loadtest: \
+h2load: \
 		$(SERVER_DIR)/.test-setup \
 		$(SERVER_DIR)/.curl-installed \
         $(GEN)/load-urls-1.txt
@@ -218,6 +220,20 @@ loadtest: \
 	$(H2LOAD) -i $(GEN)/load-urls-1.txt -n 200000 -t 7 -m $(MAX_STREAMS) -c 8
 	$(H2LOAD) -i $(GEN)/load-urls-1.txt -n 200000 -t 8 -m $(MAX_STREAMS) -c 8
 
+h2cload: \
+		$(SERVER_DIR)/.test-setup \
+		$(SERVER_DIR)/.curl-installed \
+        $(GEN)/load-h2c-urls-1.txt
+	$(H2LOAD) -c 100 -t 10 -n 100000 -m $(MAX_STREAMS) http://$(HTTP_AUTH)/index.html
+	$(H2LOAD) -i $(GEN)/load-h2c-urls-1.txt -n 200000 -t 1 -m $(MAX_STREAMS) -c 8
+	$(H2LOAD) -i $(GEN)/load-h2c-urls-1.txt -n 200000 -t 2 -m $(MAX_STREAMS) -c 8
+	$(H2LOAD) -i $(GEN)/load-h2c-urls-1.txt -n 200000 -t 3 -m $(MAX_STREAMS) -c 8
+	$(H2LOAD) -i $(GEN)/load-h2c-urls-1.txt -n 200000 -t 4 -m $(MAX_STREAMS) -c 8
+	$(H2LOAD) -i $(GEN)/load-h2c-urls-1.txt -n 200000 -t 5 -m $(MAX_STREAMS) -c 8
+	$(H2LOAD) -i $(GEN)/load-h2c-urls-1.txt -n 200000 -t 6 -m $(MAX_STREAMS) -c 8
+	$(H2LOAD) -i $(GEN)/load-h2c-urls-1.txt -n 200000 -t 7 -m $(MAX_STREAMS) -c 8
+	$(H2LOAD) -i $(GEN)/load-h2c-urls-1.txt -n 200000 -t 8 -m $(MAX_STREAMS) -c 8
+
 ################################################################################
 # Switch mpm modules
 #



Mime
View raw message