aboutsummaryrefslogtreecommitdiff
path: root/src/benchmarks/httpd.py
Commit message (Collapse)AuthorAgeFilesLines
* improve server benchmarksFlorian Fischer2019-09-041-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