Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
moobench
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SustainKieker
moobench
Commits
4c2eddde
Commit
4c2eddde
authored
2 years ago
by
Reiner Jung
Browse files
Options
Downloads
Patches
Plain Diff
Updated documentation.
parent
1a870c40
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/compile-results/design.rst
+54
-26
54 additions, 26 deletions
tools/compile-results/design.rst
with
54 additions
and
26 deletions
tools/compile-results/design.rst
+
54
−
26
View file @
4c2eddde
...
...
@@ -14,45 +14,73 @@ Parameter
-t path for table
-j json output
Log Paths
---------
log_file_path = log path + "/all-" + basename(input path)
Pipeline
--------
ElementProducer ::
yamlInputPathsProducer
ElementProducer :: yamlLogPathsProducer
yamlInputPathsProducer
ElementProducer(logFilePaths)
yamlInputReader YamlReaderStage()
YamlRea
derStage
:: yamlInputRea
derStage
YamlReaderStage :: yamlLogReaderStage
logAppen
derStage
LogAppen
derStage
distributor Distributor<>(CopyByReferenceStrategy())
LogAppender :: logAppender
Distributor :: distributor
yamlLogSink YamlLogSink(logPath)
YamlLogSink :: yamlLogSink
ChartAssemblerStage :: chartAssemblerStage
JsonLogSink :: jsonLogSink
GenerateHtmlTable :: generateHtmlTable
FileSink :: fileSink
chartAssemblerStage ChartAssemblerStage()
tailChartStage TailChartStage(windowSize)
jsonLogSink JsonChartSink(chartPath);
yamlInputPathsProducer -> yamlInputReaderStage -> logAppender.newRecord
yamlLogPathsProducer -> yamlLogReaderStage -> logAppender.log
computeTableStage ComputeTableStage()
generateHtmlTableStage GenerateHtmlTableStage(tablePath)
fileSink FileSink()
yamlInputPathsProducer -> yamlInputReader -> logAppenderStage -> distributor
logAppender.output -- log -> distributor
distributor -> yamlLogSink
distributor -> chartAssemblerStage -> jsonLogSink
distributor -> generateHtmlTable -> fileSink
distributor -> chartAssemblerStage ->
tailChartStage ->
jsonLogSink
distributor ->
computeTableStage ->
generateHtmlTable
Stage
-> fileSink
Data Structure
--------------
Log
- string name
- List<Entry> entries
**Log Model**
ExperimentLog:
- String kind
- List<Experiment> experiments
E
ntry
E
xperiment:
- long timestamp
- Map<String, List<Double>>
- List<Measurements> measurements
Measurements:
- Double mean
- Double convidence
- Double standardDeviation
- Double lowerQuartile
- Double median
- Double upperQuartile
- Double max
- Double min
**Chart**
Chart:
- String name
- List<String> headers
- List<ValueTuple> values
ValueTuple:
- long timestamp
- List<Double> values
**Table**
TableInformation:
- String name
- Experiment current
- Experiment previous
In previous, we store an artifical results based on the last 10 experiments using
value = (experiment_i + value) / 2
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment