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
99b32fd0
Commit
99b32fd0
authored
2 years ago
by
Reiner Jung
Browse files
Options
Downloads
Patches
Plain Diff
Added todo list
parent
2c09d13e
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
frameworks/Kieker/python/todo.md
+41
-0
41 additions, 0 deletions
frameworks/Kieker/python/todo.md
with
41 additions
and
0 deletions
frameworks/Kieker/python/todo.md
+
41
−
0
View file @
99b32fd0
...
...
@@ -2,4 +2,45 @@
-
Create the Moobench main application for Python in moobench/tools/pybenchmark
it should have the same configuration options as the Java version (see notes there)
-
Create a script to run the benchmark (see Kieker/java/benchmark.sh as an example)
The benchmark.sh script uses other scripts function.sh and labels.sh and some
common-functions.
-
the config.rc file should contain all configuration options for the script
The receiver tools is for TCP connections. Use this for your own TCP writer (it should work).
The lines 118ff in benchmark.sh contain the information on the different setups in Java.
Here the list of setups you should do:
1.
PyMooBench without any options (baseline)
2.
PyMooBench with woven probes, but inactive (you can do this with do nothing probes)
3.
PyMooBench with woven probes, but a dummy writer (which does not write anything)
That could look like a little bit like:
class DummyWriter:
''' This writer, is used to write the records directly into local files '''
def __init__(self, file_path, string_buffer):
def on_new_registry_entry(self, value, idee):
def writeMonitoringRecord(self, record):
def _serialize(self, record, idee):
def onStarting(self):
pass
def on_terminating(self):
pass
def to_string(self):
pass
4.
PyMooBench with woven probes using FileWriter
5.
PyMooBench with woven probes using TCPWriter
**NOTE**
: The only part of the application that is monitored is the method of
MonitoredClassSimple.
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