aboutsummaryrefslogtreecommitdiff
path: root/src/benchmarks/httpd.py
Commit message (Collapse)AuthorAgeFilesLines
* make the whole project more python idiomaticFlorian Fischer2020-06-021-94/+0
| | | | | | | | | * rename src directory to allocbench * make global variable names UPPERCASE * format a lot of code using yapf * use lowercase ld_preload and ld_library_path as Allocator members * name expected Errors 'err' and don't raise a new Exception * disable some pylint messages
* fix syntax after plot changesFlorian Fischer2020-04-071-1/+1
|
* unify plotting codeFlorian Fischer2020-04-071-21/+27
| | | | | Now there is only a single plot function which takes a plot type as well as some plot and figure options.
* improve matplotlib codeFlorian Fischer2020-03-091-3/+3
| | | | | | add new helper functions to get all y_values for a plot use seperate figures for each plot s/filepostfix/file_postfix/ to be consistent
* cleanup plot codeFlorian Fischer2020-02-111-9/+9
| | | | | | | * use str.format instead of eval for plot labels * use meaningful variable names * add license header * add some doc strings
* move plotting code from src.benchmark to src.plotsFlorian Fischer2020-02-111-22/+24
|
* collect vmhwm for servers and use it for mysql, httpd and redisFlorian Fischer2019-12-111-33/+25
|
* explicitly collect binary versionsFlorian Fischer2019-09-111-0/+7
| | | | | | | There is no generic way to retrieve the version of a binary. Not everyone followes GNU cli guidelines and supports "--version". The larson benchmark for example reads input from stdin when started with "larson --version" blocking the Benchmark.prepare() call.
* improve server benchmarksFlorian Fischer2019-09-111-2/+5
| | | | | | | servers are now dictionary with two mandatory keys: "name" and "cmd". Optional keys are: * "prepare_cmds": commands are run after a server is started * "shutdown_cmds": commands are run before a server is terminated
* require a name in Benchmark.__init__Florian Fischer2019-08-291-2/+2
|
* add license header comments to benchmark definitionsFlorian Fischer2019-08-281-0/+17
|
* remove verbosity argument from hooksFlorian Fischer2019-08-271-1/+2
|
* improve benchmark code quality using pylintFlorian Fischer2019-08-271-3/+6
| | | | The description Benchmark member is replaced with class docstrings
* apply some flake8 hintsFlorian Fischer2019-06-191-26/+17
|
* use sane iterations (100 -> 10000)Florian Fischer2019-05-271-3/+3
|
* introduce server concept to BenchmarkFlorian Fischer2019-05-151-52/+18
| | | | | | | | | | | | A benchmark object can specify a list of cmds to execute as "servers" in the member attribute server_cmds. Servers are started and terminated through Popen objects. This requires the server cmds to not daemonize so the server can be terminated through the Popen object. For each started server cmd a shutdown function is registered with atexit to terminate all servers even if a exception occurs. Use the new server concept in httpd and mysql benchmarks
* fix still running checkFlorian Fischer2019-04-131-1/+18
|
* add check if nginx is running before trying to terminateFlorian Fischer2019-04-131-7/+9
|
* adjust absurd concurrencyFlorian Fischer2019-04-131-1/+1
|
* add real simple webserver benchmark using nginx and abFlorian Fischer2019-04-021-0/+87