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.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/benchmarks/httpd.py b/src/benchmarks/httpd.py
index 22824f9..16d3b20 100644
--- a/src/benchmarks/httpd.py
+++ b/src/benchmarks/httpd.py
@@ -26,7 +26,7 @@ class BenchmarkHTTPD(Benchmark):
"""TODO"""
def __init__(self):
- self.name = "httpd"
+ name = "httpd"
self.args = {"nthreads": Benchmark.scale_threads_for_cpus(2),
"site": ["index.html", "index.php"]}
@@ -37,7 +37,7 @@ class BenchmarkHTTPD(Benchmark):
self.requirements = ["nginx", "ab"]
- super().__init__()
+ super().__init__(name)
@staticmethod
def process_output(result, stdout, stderr, allocator, perm):