aboutsummaryrefslogtreecommitdiff
path: root/src/benchmarks/t_test1.py
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2019-05-15 17:47:22 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2019-05-15 17:51:06 +0200
commit7da91858ce7959f102a04bca2b2fcfd418e5a7a9 (patch)
tree19abc82074f001f85729ff00e8ae6ec0bbaad5d3 /src/benchmarks/t_test1.py
parentf63ac8afd8110d3fcea9dd1f7eb2b8175f4ac306 (diff)
downloadallocbench-7da91858ce7959f102a04bca2b2fcfd418e5a7a9.tar.gz
allocbench-7da91858ce7959f102a04bca2b2fcfd418e5a7a9.zip
introduce server concept to Benchmark
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
Diffstat (limited to 'src/benchmarks/t_test1.py')
0 files changed, 0 insertions, 0 deletions