|
|
vor 5 Monaten | |
|---|---|---|
| benchmarks | vor 5 Monaten | |
| pythonpdevs2.4.2 | vor 7 Monaten | |
| web_service | vor 6 Jahren | |
| .gitignore | vor 6 Monaten | |
| Agents benchmarks.md | vor 5 Monaten | |
| Dockerfile | vor 3 Jahren | |
| PyPDEVS benchmarks.md | vor 5 Monaten | |
| README.md | vor 9 Monaten | |
| clean.sh | vor 3 Jahren | |
| plotting Agents.md | vor 5 Monaten | |
| plotting PyPDEVS.md | vor 5 Monaten | |
| pyproject.toml | vor 9 Monaten | |
| results_analysis.py | vor 3 Jahren | |
| setup.sh | vor 9 Monaten | |
| uv.lock | vor 9 Monaten |
Here you can find several DEVStone implementations for comparing the main DEVS engines.
Adapted to benchmark Dynamic Structure DEVS
First select a simulator:
Shared parameters:
interval: The interval at which measurements are taken.
model structure: each simulator has its own set of models
For each simulation the parameters and the creation, setup and simulation time are saved to a csv file.
Run the following command, the width and depth step size parameters should be left out, to measure the memory usage of a single simulation, for the same reason the repetitions should be set to one.
uv run testPyPDEVS.py -md 100 -mw 100 -r 1 -O dynamic -ms dLI & PID=$!; python -m procpath record -i 0.1 -f stat -d output.sqlite --stop-without-result "$..children[?(@.stat.pid == $PID)]"
procpath plot -d output.sqlite -f out.svg -q rss