aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/benchmarks/httpd.py6
-rw-r--r--src/facter.py2
2 files changed, 3 insertions, 5 deletions
diff --git a/src/benchmarks/httpd.py b/src/benchmarks/httpd.py
index 980a6cc..0e386cc 100644
--- a/src/benchmarks/httpd.py
+++ b/src/benchmarks/httpd.py
@@ -18,7 +18,7 @@ class Benchmark_HTTPD(Benchmark):
self.args = {"nthreads": Benchmark.scale_threads_for_cpus(2),
"site": ["index.html", "index.php"]}
- self.cmd = "ab -n 100 -c {nthreads} localhost:8080/{site}"
+ self.cmd = "ab -n 10000 -c {nthreads} localhost:8080/{site}"
self.measure_cmd = ""
self.server_cmds = ["nginx -c {builddir}/benchmarks/httpd/etc/nginx/nginx.conf",
"php-fpm -c {builddir}/benchmarks/httpd/etc/php/php.ini -y {builddir}/benchmarks/httpd/etc/php/php-fpm.conf -F"]
@@ -42,7 +42,7 @@ class Benchmark_HTTPD(Benchmark):
args = self.results["args"]
self.calc_desc_statistics()
-
+
# linear plot
self.plot_fixed_arg("{requests}",
xlabel='"threads"',
@@ -60,7 +60,7 @@ class Benchmark_HTTPD(Benchmark):
filepostfix="requests.norm",
autoticks=False,
scale=ref_alloc)
-
+
# bar plot
# self.barplot_fixed_arg("{requests}",
# xlabel='"threads"',
diff --git a/src/facter.py b/src/facter.py
index c90306d..220cb3a 100644
--- a/src/facter.py
+++ b/src/facter.py
@@ -19,8 +19,6 @@ def collect_facts():
with open(os.path.join(gv.builddir, "ccinfo"), "r") as ccinfo:
gv.facts["cc"] = ccinfo.readlines()[-1][:-1]
-
-
# Copied from pip.
# https://github.com/pypa/pip/blob/master/src/pip/_internal/utils/glibc.py
# Licensed under MIT.