diff --git a/src/benchmarks/httpd.py b/src/benchmarks/httpd.py index 980a6cc01ce801ed2d6938b83e3b3cda6f30d472..0e386cc86884c8ea6552b42951986aefb58145c3 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 c90306de441fe727c35c6a0f40bf4ab023bf9d4f..220cb3a86b2679f4b597a6908d2eac8d37c97433 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.