aboutsummaryrefslogtreecommitdiff
path: root/src/benchmarks/httpd.py
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2019-08-29 12:14:32 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2019-08-29 12:14:32 +0200
commit4499b5380b97ac0d64e3ba8701f1b8638609b420 (patch)
treee0e531c4b94f78ed29b1380d061a255be8f19244 /src/benchmarks/httpd.py
parentaf68be15d93ed6ff737bbd2d503e38911f240e9a (diff)
downloadallocbench-4499b5380b97ac0d64e3ba8701f1b8638609b420.tar.gz
allocbench-4499b5380b97ac0d64e3ba8701f1b8638609b420.zip
require a name in Benchmark.__init__
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):