Browse Source

cpoll_cppsp: added plaintext benchmark

xaxaxa 12 years ago
parent
commit
691b070e8c
2 changed files with 6 additions and 0 deletions
  1. 1 0
      cpoll_cppsp/benchmark_config
  2. 5 0
      cpoll_cppsp/www/plaintext

+ 1 - 0
cpoll_cppsp/benchmark_config

@@ -4,6 +4,7 @@
     "default": {
     "default": {
       "setup_file": "setup",
       "setup_file": "setup",
       "json_url": "/json",
       "json_url": "/json",
+	"plaintext_url": "/plaintext",
       "port": 16969,
       "port": 16969,
       "sort": 115
       "sort": 115
     },
     },

+ 5 - 0
cpoll_cppsp/www/plaintext

@@ -0,0 +1,5 @@
+<%
+response->headers["Server"]="cppsp/0.2";
+response->headers["Content-Type"]="text/plain";
+%>Hello, World!
+