Skip to content

Commit

Permalink
Removed deprecated reporters (#105)
Browse files Browse the repository at this point in the history
* Docs: Contribution tests

* Removed deprecated reporters
  • Loading branch information
perdelt committed Oct 16, 2022
1 parent 60f71d8 commit e4c657a
Show file tree
Hide file tree
Showing 22 changed files with 20 additions and 2,500 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -158,7 +158,7 @@ In any bug report, please let us know:
* Traceback that occurs (the full error message)

We are always looking for people interested in helping with code development, documentation writing, technical administration, and whatever else comes up.
If you wish to contribute, please first read the contribution [section in the documentation](https://dbmsbenchmarker.readthedocs.io/en/latest/CONTRIBUTING.html).
If you wish to contribute, please first read the [contribution section](https://github.com/Beuth-Erdelt/DBMS-Benchmarker/blob/master/docs/CONTRIBUTING.md) or visit the [documentation](https://dbmsbenchmarker.readthedocs.io/en/latest/CONTRIBUTING.html).


## Benchmarking in a Kubernetes Cloud
Expand Down
21 changes: 1 addition & 20 deletions benchmark.py
Expand Up @@ -36,10 +36,8 @@
parser.add_argument('-q', '--query', help='number of query to benchmark', default=None)
parser.add_argument('-c', '--connection', help='name of connection to benchmark', default=None)
parser.add_argument('-ca', '--connection-alias', help='alias of connection to benchmark', default='')
#parser.add_argument('-l', '--latex-template', help='name of latex template for reporting', default='pagePerQuery')
parser.add_argument('-f', '--config-folder', help='folder containing query and connection config files. If set, the names connections.config and queries.config are assumed automatically.', default=None)
parser.add_argument('-r', '--result-folder', help='folder for storing benchmark result files, default is given by timestamp', default=None)
#parser.add_argument('-g', '--generate-output', help='generate new report files', default='no', choices=['no','yes'])
parser.add_argument('-e', '--generate-evaluation', help='generate new evaluation file', default='no', choices=['no','yes'])
parser.add_argument('-w', '--working', help='working per query or connection', default='query', choices=['query','connection'])
#parser.add_argument('-a', '--anonymize', help='anonymize all dbms', action='store_true', default=False)
Expand Down Expand Up @@ -165,24 +163,7 @@
# collect hardware metrics
experiments.reporter.append(benchmarker.reporter.metricer(experiments, per_stream=True))
experiments.generateReportsAll()
"""
if args.generate_output == 'yes':
experiments.overwrite = True
# store measures ans statistics in separate files
experiments.reporter.append(benchmarker.reporter.pickler(experiments))
experiments.reporter.append(benchmarker.reporter.dataframer(experiments))
# collect hardware metrics
experiments.reporter.append(benchmarker.reporter.metricer(experiments))
# generate charts
experiments.reporter.append(benchmarker.reporter.barer(experiments))
experiments.reporter.append(benchmarker.reporter.ploter(experiments))
experiments.reporter.append(benchmarker.reporter.boxploter(experiments))
experiments.reporter.append(benchmarker.reporter.tps(experiments))
experiments.reporter.append(benchmarker.reporter.hister(experiments))
# generate latex report
experiments.reporter.append(benchmarker.reporter.latexer(experiments, args.latex_template))
experiments.generateReportsAll()
"""
if args.generate_evaluation == 'yes':
# generate evaluation cube
experiments.overwrite = True
evaluator.evaluator(experiments, load=False, force=True)
6 changes: 2 additions & 4 deletions dbmsbenchmarker/evaluator.py
Expand Up @@ -37,13 +37,11 @@
class evaluator():
evaluation = {}
"""
Class for generating reports.
This class generates a survey in latex and saves it to disk.
The survey has one page per timer.
Class for generating evaluation cube.
"""
def __init__(self, benchmarker, load=False, force=False):
"""
Construct a new 'reporter' object.
Construct a new 'evaluator' object.
:param benchmarker: Object of benchmarker containing information about queries, connections and benchmark times
:return: returns nothing
Expand Down
4 changes: 0 additions & 4 deletions dbmsbenchmarker/latex/pagePerQuery/appendix

This file was deleted.

3 changes: 0 additions & 3 deletions dbmsbenchmarker/latex/pagePerQuery/appendixquery

This file was deleted.

Empty file.
59 changes: 0 additions & 59 deletions dbmsbenchmarker/latex/pagePerQuery/query

This file was deleted.

2 changes: 0 additions & 2 deletions dbmsbenchmarker/latex/pagePerQuery/reportFoot

This file was deleted.

0 comments on commit e4c657a

Please sign in to comment.