You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ic...@apache.org on 2015/11/03 15:35:00 UTC
svn commit: r1712301 - /httpd/test/mod_h2/trunk/Makefile.am
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
#