aboutsummaryrefslogtreecommitdiff
path: root/src/benchmark.py
Commit message (Collapse)AuthorAgeFilesLines
* make the whole project more python idiomaticFlorian Fischer2020-06-021-632/+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 shutdown for already terminated servers and save their returncodeFlorian Fischer2020-04-231-21/+25
|
* don't output the error if a datapoint is not convertable to floatFlorian Fischer2020-04-081-1/+0
|
* unify plotting codeFlorian Fischer2020-04-071-14/+31
| | | | | Now there is only a single plot function which takes a plot type as well as some plot and figure options.
* join only stringsFlorian Fischer2020-03-111-2/+2
|
* use str.join to construct perm substitutionFlorian Fischer2020-03-091-1/+1
|
* save stdout and stderr of serversFlorian Fischer2020-02-251-4/+16
|
* save a valid result if we haven't seen one yetFlorian Fischer2020-02-221-1/+1
|
* don't shutdown servers if starting them failedFlorian Fischer2020-02-211-1/+1
|
* always use same namedtuple ClassFlorian Fischer2020-02-211-4/+2
|
* don't parse output from abnormally terminated commandsFlorian Fischer2020-02-211-3/+5
|
* Merge branch 'pgfplots'Florian Fischer2020-02-201-409/+0
|\
| * move plotting code from src.benchmark to src.plotsFlorian Fischer2020-02-111-510/+0
| |
| * implement standalone pgfplot legend creationFlorian Fischer2020-02-111-0/+52
| |
| * use allocbench colors in pgfplotFlorian Fischer2020-02-111-7/+13
| | | | | | | | | | | | the used colors consist of the allocator name followed by '_color'. The colors are defined using xcolors providecolor command which does not override existing names.
| * add simple pgfplot functionFlorian Fischer2020-01-231-0/+42
| |
* | add exec wrapper after prefix_cmdFlorian Fischer2020-02-201-1/+3
| | | | | | | | Now a possible prefixed loader (glibc) can execute shell scripts (perf).
* | only parse csv output from non-server commandsFlorian Fischer2020-02-191-11/+12
| |
* | fix preparation of non-server cmdsFlorian Fischer2020-02-171-1/+1
| |
* | add license header to benchmark.pyFlorian Fischer2020-02-111-0/+18
| |
* | wait for server termination after executing the shutdown commandsFlorian Fischer2020-02-091-1/+4
| |
* | unify the use of LD_PRELOAD between server and non-server commandsFlorian Fischer2020-02-091-42/+47
| | | | | | | | | | | | | | | | | | Always use exec to start a measured cmd overwriting LD_PRELOAD. Exec overwrites LD_PRELOAD using this format: print_status_on_exit.so sig_handlers.so <allocator LD_PRELOAD> <orignal LD_PRELOAD> With this change our LD_PRELOAD is only active for the measured process and not for the measuring cmd.
* | fix order of LD_PRELOADFlorian Fischer2020-02-091-5/+6
| | | | | | | | | | We prepend the currently set LD_PRELOAD. LD_PRELOAD=print_status_on_exit sig_handlers allocater.so LD_PRELOAD
* | print debug message with exception traceback during server startupFlorian Fischer2020-02-091-1/+2
| |
* | add benchmark directory to PATH during runFlorian Fischer2020-02-091-0/+3
|/ | | | all occurrences of benchmark dir in PATH will be erased at the end of run
* use class members like normal peopleFlorian Fischer2019-12-281-12/+7
|
* move allocbench_version to facter and make the facts a global variable of ↵Florian Fischer2019-12-141-1/+1
| | | | facter.py
* collect vmhwm for servers and use it for mysql, httpd and redisFlorian Fischer2019-12-111-3/+10
|
* add option to parse measure cmd stdout as csvFlorian Fischer2019-12-041-1/+2
|
* support tikz plot using tikzplotlibFlorian Fischer2019-11-281-4/+19
|
* fix scale factor > 0 for systems with more than 10 cpusFlorian Fischer2019-11-281-2/+2
|
* allow scale factors < 1Florian Fischer2019-11-271-1/+1
|
* fix Benchmark and facter load functionsFlorian Fischer2019-11-231-3/+3
|
* change result format from pickle to jsonFlorian Fischer2019-11-231-14/+31
|
* make plot_* functions more robust to missing valuesFlorian Fischer2019-11-221-12/+20
|
* fix some format hintsFlorian Fischer2019-11-221-9/+9
|
* extract perf check from way too long run methodFlorian Fischer2019-11-221-17/+23
|
* don't skip earlyFlorian Fischer2019-11-061-1/+0
|
* fix invalid except syntaxFlorian Fischer2019-11-061-1/+1
|
* skip not starting serversFlorian Fischer2019-11-061-3/+17
|
* remove debug output from benchmark.pyFlorian Fischer2019-11-061-1/+0
|
* use booktabs in standalone tex tablesFlorian Fischer2019-10-301-0/+1
| | | | \toprule is definied in booktabs
* add toprule to tex tablesFlorian Fischer2019-10-301-0/+1
|
* add and use write_tex_table functionFlorian Fischer2019-10-301-0/+101
|
* introduce a global summary file extensionFlorian Fischer2019-10-301-3/+3
|
* improve scale_thread_for_cpusFlorian Fischer2019-10-211-21/+21
| | | | | | | Thread numbers are now a factor of two. Allow creation of Benchmark objects when src.globalvars.result_dir is not set.
* don't try to terminate servers that exited with 0Florian Fischer2019-10-131-1/+1
|
* support substitutions in server shutdown_cmdsFlorian Fischer2019-10-131-6/+10
|
* catch SIGSEGV as well; register sa_handlers only if its SIG_DLF beforeFlorian Fischer2019-09-291-7/+2
|
* catch if cmd abortsFlorian Fischer2019-09-291-1/+7
| | | | | | perf stat does not propagate if the measured cmd aborts. To solve thing in a universal way we register a SIGABRT handler which creates the file aborted