aboutsummaryrefslogtreecommitdiff
path: root/src/benchmarks/httpd.py
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2019-08-27 16:54:17 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2019-08-27 16:54:17 +0200
commit93e3aac6315c17a74e63f02053a3e8e2e6b21928 (patch)
tree6f1c22dff617e05807a88c107389654cbaf7d090 /src/benchmarks/httpd.py
parentce532bbe9c03e52f80d263ea02038e9b81696e89 (diff)
downloadallocbench-93e3aac6315c17a74e63f02053a3e8e2e6b21928.tar.gz
allocbench-93e3aac6315c17a74e63f02053a3e8e2e6b21928.zip
improve benchmark code quality using pylint
The description Benchmark member is replaced with class docstrings
Diffstat (limited to 'src/benchmarks/httpd.py')
-rw-r--r--src/benchmarks/httpd.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/benchmarks/httpd.py b/src/benchmarks/httpd.py
index 2ac7fbc..b63f675 100644
--- a/src/benchmarks/httpd.py
+++ b/src/benchmarks/httpd.py
@@ -1,12 +1,15 @@
+"""Definition of the httpd benchmark"""
+
import re
from src.benchmark import Benchmark
-class Benchmark_HTTPD(Benchmark):
+class BenchmarkHTTPD(Benchmark):
+ """TODO"""
+
def __init__(self):
self.name = "httpd"
- self.descrition = """TODO"""
self.args = {"nthreads": Benchmark.scale_threads_for_cpus(2),
"site": ["index.html", "index.php"]}
@@ -60,4 +63,4 @@ class Benchmark_HTTPD(Benchmark):
# title='"ab -n 10000 -c threads"')
-httpd = Benchmark_HTTPD()
+httpd = BenchmarkHTTPD()