Bladeren bron

translation benchmarks and rename

Snej69420 5 maanden geleden
bovenliggende
commit
ebfcff42bc
3 gewijzigde bestanden met toevoegingen van 29 en 14 verwijderingen
  1. 10 13
      Agents benchmarks.md
  2. 18 0
      PyPDEVS benchmarks.md
  3. 1 1
      benchmarks/benchmark.py

+ 10 - 13
Agents benchmarks.md

@@ -15,6 +15,15 @@ julia --project=Agents Agents/main.jl -D 100 -W 100 -r 5 --ms HO -p Results/Agen
 julia --project=Agents Agents/main.jl -D 30 -W 30 -r 5 --ms HOmod -p Results/Agents -f test
 ```
 
+## Translations 
+Run Twice once with No Translation Functions (Identity), once with Arbitrary Translation function
+```bash
+nohup julia --project=Agents Agents/main.jl -D 100 -W 100 -r 100 --ms LI -p Results/Agents -f baseline > Logs/Agents/Memory/LI-baseline 2>&1 & 
+nohup julia --project=Agents Agents/main.jl -D 100 -W 100 -r 100 --ms HI -p Results/Agents -f baseline > Logs/Agents/Memory/HI-baseline 2>&1 &
+nohup julia --project=Agents Agents/main.jl -D 100 -W 100 -r 100 --ms HO -p Results/Agents -f baseline > Logs/Agents/Memory/HO-baseline 2>&1 &
+nohup julia --project=Agents Agents/main.jl -D 30 -W 30 -r 100 --ms HOmod -p Results/Agents -f baseline > Logs/Agents/Memory/HOmod-baseline 2>&1 &
+```
+
 # --- MEMORY ---
 ## --- BIG Server mains ---
 ```bash
@@ -30,16 +39,4 @@ julia --project=Agents Agents/main.jl -D 400 -W 400 --ms LI -p Results/Agents -M
 julia --project=Agents Agents/main.jl -D 400 -W 400 --ms HI -p Results/Agents -M -i 0.1
 julia --project=Agents Agents/main.jl -D 400 -W 400 --ms HO -p Results/Agents -M -i 0.1
 julia --project=Agents Agents/main.jl -D 68 -W 68 --ms HOmod -p Results/Agents -M -i 0.1
-```
-
-[//]: # (```bash)
-
-[//]: # (nohup julia --project=@. main.jl -D 400 -W 400 --ms LI -p Results/Agents -M -i 0.1 > LI_M.log 2>&1 & )
-
-[//]: # (nohup julia --project=@. main.jl -D 400 -W 400 --ms HI -p Results/Agents -M -i 0.1 > HI_M.log 2>&1 &)
-
-[//]: # (nohup julia --project=@. main.jl -D 400 -W 400 --ms HO -p Results/Agents -M -i 0.1 > HO_M.log 2>&1 &)
-
-[//]: # (nohup julia --project=@. main.jl -D 68 -W 68 --ms HOmod -p Results/Agents -M -i 0.1 > HOmod_M.log 2>&1 &)
-
-[//]: # (```)
+```

+ 18 - 0
PyPDEVS benchmarks.md

@@ -111,6 +111,15 @@ nohup uv run benchmark.py parallel -D 100 -ds 2 -W 100 -ws 2 -r 5 -ms HO -p Resu
 nohup uv run benchmark.py parallel -D 30 -ds 2 -W 30 -ws 2 -r 5 -ms HOmod -p Results/PyPDEVS > Logs/PyPDEVS/Time/Parallel/HOmod.log 2>&1 &
 ```
 
+### Translations 
+Run Twice once with No Translation Functions (Identity), once with Arbitrary Translation function
+```bash
+nohup uv run benchmark.py parallel -D 100 -W 100 -r 100 -ms LI -p Results/PyPDEVS -f baseline > Logs/PyPDEVS/Time/Parallel/LI-baseline.log 2>&1 & 
+nohup uv run benchmark.py parallel -D 100 -W 100 -r 100 -ms HI -p Results/PyPDEVS -f baseline > Logs/PyPDEVS/Time/Parallel/HI-baseline.log 2>&1 &
+nohup uv run benchmark.py parallel -D 100 -W 100 -r 100 -ms HO -p Results/PyPDEVS -f baseline > Logs/PyPDEVS/Time/Parallel/HO-baseline.log 2>&1 &
+nohup uv run benchmark.py parallel -D 30 -W 30 -r 100 -ms HOmod -p Results/PyPDEVS -f baseline > Logs/PyPDEVS/Time/Parallel/HOmod-baseline.log 2>&1 &
+```
+
 ## --- Minimal ---
 ```bash
 nohup uv run benchmark.py minimal -D 100 -ds 2 -W 100 -ws 2 -r 5 -ms LI -p Results/PyPDEVS > Logs/PyPDEVS/Time/Minimal/LI.log 2>&1 &
@@ -119,6 +128,15 @@ nohup uv run benchmark.py minimal -D 100 -ds 2 -W 100 -ws 2 -r 5 -ms HO -p Resul
 nohup uv run benchmark.py minimal -D 30 -ds 2 -W 30 -ws 2 -r 5 -ms HOmod -p Results/PyPDEVS > Logs/PyPDEVS/Time/Minimal/HOmod.log 2>&1 &
 ```
 
+### Translations 
+Run Twice once with No Translation Functions (Identity), once with Arbitrary Translation function
+```bash
+nohup uv run benchmark.py minimal -D 100 -W 100 -r 100 -ms LI -p Results/PyPDEVS -f baseline > Logs/PyPDEVS/Time/Minimal/LI-baseline.log 2>&1 & 
+nohup uv run benchmark.py minimal -D 100 -W 100 -r 100 -ms HI -p Results/PyPDEVS -f baseline > Logs/PyPDEVS/Time/Minimal/HI-baseline.log 2>&1 &
+nohup uv run benchmark.py minimal -D 100 -W 100 -r 100 -ms HO -p Results/PyPDEVS -f baseline > Logs/PyPDEVS/Time/Minimal/HO-baseline.log 2>&1 &
+nohup uv run benchmark.py minimal -D 30 -W 30 -r 100 -ms HOmod -p Results/PyPDEVS -f baseline > Logs/PyPDEVS/Time/Minimal/HOmod-baseline.log 2>&1 &
+```
+
 ## --- Classic ---
 ```bash
 nohup uv run benchmark.py classic -D 100 -ds 2 -W 100 -ws 2 -r 5 -ms LI -p Results/PyPDEVS > Logs/PyPDEVS/Time/Classic/LI.log 2>&1 &

+ 1 - 1
benchmarks/benchmark.py

@@ -84,7 +84,7 @@ def run_devstone(model_type, depth, width, mode, out, memory, stats, DCP, *, cla
     if memory:
         props = model_properties(model_type, width, depth)
         n_atomic = props.get("Atomic Models", "0")
-        graph_title = f"{model_type} ({n_atomic} atomic models)"
+        graph_title = f"{model_type} ({int(n_atomic)} atomic models)"
         create_graph(memory["file"], graph_title)
 
     cerr = result.stderr.strip()