aboutsummaryrefslogtreecommitdiff
path: root/bench.py
Commit message (Collapse)AuthorAgeFilesLines
* move allocbench_version to facter and make the facts a global variable of ↵Florian Fischer2019-12-141-5/+6
| | | | facter.py
* yapf format and remove old hacky output codeFlorian Fischer2019-12-111-21/+47
|
* change result format from pickle to jsonFlorian Fischer2019-11-231-2/+2
|
* always print path to result directoryFlorian Fischer2019-11-221-1/+1
|
* let facter handle load/store of global factsFlorian Fischer2019-11-221-3/+1
|
* remove left over status file at exitFlorian Fischer2019-11-131-0/+4
| | | | | If writing the status file fails because of not sufficient space left successive runs can fail because of a broken status file.
* remove unused chattyparser importFlorian Fischer2019-11-061-1/+0
|
* don't measure analyse runsFlorian Fischer2019-09-211-0/+4
|
* store start, end and duration for every benchmarkFlorian Fischer2019-09-141-0/+5
|
* don't exit if we fail to prepare a benchmarkFlorian Fischer2019-09-111-1/+7
| | | | | benchmark.prepare should raise an Exception if it encounters an unrecoverable, intolerable error.
* abort if there are no allocators to benchmarkFlorian Fischer2019-09-111-0/+4
|
* add --version flag to executablesFlorian Fischer2019-08-301-1/+5
|
* make all default allocator targetFlorian Fischer2019-08-281-1/+2
|
* simplify bench.py codeFlorian Fischer2019-08-281-180/+105
| | | | | | | | | | | bench.py does only what it's name say: run benchmarks. Summarizing results is done with summarize.py. Merging two saves is done using merge.py. Misc: * -vdebug is now -vvv * license header is added * replace logger calls with print_error
* remove -vdebug flagFlorian Fischer2019-08-261-6/+2
|
* only plot chattymalloc results if nosum is not setFlorian Fischer2019-08-251-1/+1
|
* add result directory to trace fileFlorian Fischer2019-08-251-1/+1
|
* fix chattymalloc nameFlorian Fischer2019-08-251-1/+1
|
* s/analyse/analyzeFlorian Fischer2019-08-251-16/+16
|
* fix analyse chattymalloc analyzingFlorian Fischer2019-08-251-1/+1
|
* plot traces produced by chattymallocFlorian Fischer2019-08-241-1/+7
|
* support chattymalloc as analyze fallback if malt is not availableFlorian Fischer2019-08-221-33/+32
| | | | | | bench.py saves the benchmark specific result directory in the object member "result_dir". This member is used by the analyze allocators to know where to write the trace files to.
* remove duplicate check if we really should run the benchmarkFlorian Fischer2019-08-221-2/+2
|
* load benchmarks using importlib instead of evalFlorian Fischer2019-08-121-1/+5
|
* add requirement check for matplotlib and python version >= 3.6Florian Fischer2019-08-121-5/+16
|
* Use f-stringsFlorian Schmaus2019-08-121-1/+1
|
* Introduce checkDependenciesAndPreconditions()Florian Schmaus2019-08-121-0/+8
|
* Whitespace fix in bench.pyFlorian Schmaus2019-08-121-1/+1
|
* add comments and error messagesFlorian Fischer2019-07-311-15/+23
|
* add option to exclude benchmarksFlorian Fischer2019-06-241-0/+4
|
* give each allocator a unique colorFlorian Fischer2019-06-241-0/+11
|
* rework allocator definitions #2Florian Fischer2019-06-241-15/+32
| | | | | | | | bench.py no evals only if argument to -a is file path. Otherwise it will check if "arg".py is found in src/allocators/ then it imports it. Collection definitions must export a iterable member called allocators. Allocator definitions must export a member named "arg".
* only delete during analyse created stats if they existFlorian Fischer2019-05-111-1/+1
|
* fix some hints from flake8Florian Fischer2019-05-081-8/+8
|
* move list of available benchmarks to src.globalvars.benchmarksFlorian Fischer2019-04-291-6/+4
| | | | fix analyse
* fix analyseFlorian Fischer2019-04-281-1/+1
|
* start moving allocator definitions to src/allocatorsFlorian Fischer2019-04-281-1/+1
|
* use special allocator "malt" during analyse to run the benchmark only onceFlorian Fischer2019-04-281-10/+31
|
* improve descriptive statistics, csv-export and add general barplot functionFlorian Fischer2019-04-131-1/+0
|
* add analyze and server_benchmark featureFlorian Fischer2019-04-021-16/+23
| | | | | | | | | | | | | | | | | | | | | | --analyze uses malt to trace the benchmarks behavior. It uses the run loop but the obtained results are not stored Benchmark.server_benchmark is used if only a server is started for each allocator and clients are used to measure its performance in the run loop. If server_benchmark is set to True the cmds are run with the system default allocator. Misc changes: * The global environment is no longer changed. Instead a custom env dict is passed to suprocesses containing LD_PRELOAD. * Failing cmds no longer skip the whole benchmark instead they now skip the malfunctioning allocator. * Fix default title in plot_single_arg an analyse run are not stored
* move benchmark definitions into src/benchmarksFlorian Fischer2019-03-251-2/+4
| | | | bench now loads all *.py files from src/benchmarks as benchmarks
* alwys reset LD_PRELOAD even when a exception occursFlorian Fischer2019-03-221-1/+10
|
* use exceptions in mysql benchmarkFlorian Fischer2019-03-211-6/+7
|
* use exceptions to indicate an errorFlorian Fischer2019-03-211-29/+34
|
* collect facts on demandFlorian Fischer2019-03-191-0/+3
| | | | | this fixes a exception because of the missing ccinfo file when src.facter is imported before the build of allocbench
* fix time recordingFlorian Fischer2019-03-101-1/+1
|
* remove second isoformat(timespec=) callFlorian Fischer2019-03-081-4/+6
|
* don't use isoformat(timespec=) for python3 < 3.6Florian Fischer2019-03-081-1/+4
|
* Don't print running if -r 0 is setFlorian Fischer2019-03-081-1/+0
|
* record start and end time in factsFlorian Fischer2019-03-081-1/+5
|