|
|
hai 5 meses | |
|---|---|---|
| benchmarks | hai 5 meses | |
| pythonpdevs2.4.2 | hai 7 meses | |
| web_service | %!s(int64=6) %!d(string=hai) anos | |
| .gitignore | hai 6 meses | |
| Agents benchmarks.md | hai 5 meses | |
| Dockerfile | %!s(int64=3) %!d(string=hai) anos | |
| PyPDEVS benchmarks.md | hai 5 meses | |
| README.md | hai 9 meses | |
| clean.sh | %!s(int64=3) %!d(string=hai) anos | |
| plotting Agents.md | hai 5 meses | |
| plotting PyPDEVS.md | hai 5 meses | |
| pyproject.toml | hai 9 meses | |
| results_analysis.py | %!s(int64=3) %!d(string=hai) anos | |
| setup.sh | hai 9 meses | |
| uv.lock | hai 9 meses |
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