aboutsummaryrefslogtreecommitdiff
path: root/src/benchmarks/httpd.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/benchmarks/httpd.py')
-rw-r--r--src/benchmarks/httpd.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/benchmarks/httpd.py b/src/benchmarks/httpd.py
index b63f675..d981233 100644
--- a/src/benchmarks/httpd.py
+++ b/src/benchmarks/httpd.py
@@ -22,7 +22,8 @@ class BenchmarkHTTPD(Benchmark):
super().__init__()
- def process_output(self, result, stdout, stderr, allocator, perm, verbose):
+ @staticmethod
+ def process_output(result, stdout, stderr, allocator, perm):
result["time"] = re.search("Time taken for tests:\\s*(\\d*\\.\\d*) seconds", stdout).group(1)
result["requests"] = re.search("Requests per second:\\s*(\\d*\\.\\d*) .*", stdout).group(1)