Przeglądaj źródła

HO&HOmod detailed mem profile

Snej69420 4 miesięcy temu
rodzic
commit
c162aef3b2

+ 37 - 0
benchmarks/Results/Agents/HO_profile.txt

@@ -0,0 +1,37 @@
+──────────────────────────────────────────────────────────────────────────────────────
+Running HO (D:400, W:400)
+───────────────────────────────────────────────────────────────────────────────────
+                                          Time                    Allocations
+                                 ───────────────────────   ────────────────────────
+        Tot / % measured:              430s /   2.2%           8.49GiB /  26.7%
+
+Section                  ncalls     time    %tot     avg     alloc    %tot      avg
+───────────────────────────────────────────────────────────────────────────────────
+Compile DEVS                  1    9.30s  100.0%   9.30s   2.27GiB  100.0%  2.27GiB
+  Resolve Couplings           1    3.46s   37.2%   3.46s    779MiB   33.5%   779MiB
+  Build Final Agents          1    2.20s   23.7%   2.20s    568MiB   24.5%   568MiB
+    Instantiate Tree          1    2.20s   23.7%   2.20s    568MiB   24.5%   568MiB
+  Build Dummy Agents          1    1.89s   20.3%   1.89s    556MiB   23.9%   556MiB
+    Instantiate Tree          1    1.89s   20.3%   1.89s    556MiB   23.9%   556MiB
+  Build Routing Tables        1    1.68s   18.1%   1.68s    394MiB   17.0%   394MiB
+  Agents.jl Add Agent      159k   32.8ms    0.4%   206ns   14.7MiB    0.6%    96.8B
+  Build Model                 1    175μs    0.0%   175μs   3.62KiB    0.0%  3.62KiB
+───────────────────────────────────────────────────────────────────────────────────
+
+──────────────────────────────────────────────────────────────────────────────────────
+                                             Time                    Allocations
+                                    ───────────────────────   ────────────────────────
+         Tot / % measured:                162s /  93.7%           5.10GiB /  52.0%
+
+Section                     ncalls     time    %tot     avg     alloc    %tot      avg
+──────────────────────────────────────────────────────────────────────────────────────
+Simulation Loop                  1     152s  100.0%    152s   2.65GiB  100.0%  2.65GiB
+  Route Outputs               200k    38.4s   25.2%   192μs   10.3MiB    0.4%    54.0B
+    Send Message             31.8M    30.3s   19.9%   951ns   10.3MiB    0.4%    0.34B
+  Transitions                 200k    29.7s   19.5%   149μs   2.64GiB   99.6%  13.8KiB
+    Requeue Events            200k    9.75s    6.4%  48.8μs   2.64GiB   99.5%  13.8KiB
+      Agents.jl Add Event    31.8M    7.10s    4.7%   223ns   2.64GiB   99.5%    88.9B
+    Process Imminent         31.8M    8.43s    5.5%   265ns     0.00B    0.0%    0.00B
+    Process Receivers        31.8M    5.27s    3.5%   166ns   3.01MiB    0.1%    0.10B
+──────────────────────────────────────────────────────────────────────────────────────
+        Creation: 0.3992s | Setup: 9.2973s | Sim: 152.1849s

+ 37 - 0
benchmarks/Results/Agents/HOmod_profile.txt

@@ -0,0 +1,37 @@
+──────────────────────────────────────────────────────────────────────────────────────
+Running HOmod (D:45, W:45)
+───────────────────────────────────────────────────────────────────────────────────
+                                          Time                    Allocations
+                                 ───────────────────────   ────────────────────────
+        Tot / % measured:             1.87h /   0.0%           4.61GiB /  12.2%
+
+Section                  ncalls     time    %tot     avg     alloc    %tot      avg
+───────────────────────────────────────────────────────────────────────────────────
+Compile DEVS                  1    3.16s  100.0%   3.16s    578MiB  100.0%   578MiB
+  Build Routing Tables        1    1.14s   36.0%   1.14s    195MiB   33.7%   195MiB
+  Build Final Agents          1    895ms   28.3%   895ms    139MiB   24.1%   139MiB
+    Instantiate Tree          1    895ms   28.3%   895ms    139MiB   24.1%   139MiB
+  Build Dummy Agents          1    745ms   23.6%   745ms    136MiB   23.5%   136MiB
+    Instantiate Tree          1    745ms   23.6%   745ms    136MiB   23.5%   136MiB
+  Resolve Couplings           1    362ms   11.5%   362ms   97.4MiB   16.8%  97.4MiB
+  Agents.jl Add Agent     45.5k   10.9ms    0.3%   240ns   8.14MiB    1.4%     188B
+  Build Model                 1    166μs    0.0%   166μs   3.62KiB    0.0%  3.62KiB
+───────────────────────────────────────────────────────────────────────────────────
+
+──────────────────────────────────────────────────────────────────────────────────────
+                                             Time                    Allocations
+                                    ───────────────────────   ────────────────────────
+         Tot / % measured:               1.82h /  99.9%           4.53GiB /  86.3%
+
+Section                     ncalls     time    %tot     avg     alloc    %tot      avg
+──────────────────────────────────────────────────────────────────────────────────────
+Simulation Loop                  1    1.82h  100.0%   1.82h   3.91GiB  100.0%  3.91GiB
+  Route Outputs              1.98k    55.1s    0.8%  27.8ms   8.57MiB    0.2%  4.43KiB
+    Send Message             43.2M    44.2s    0.7%  1.02μs   8.57MiB    0.2%    0.21B
+  Transitions                1.98k    38.9s    0.6%  19.6ms   3.90GiB   99.8%  2.01MiB
+    Requeue Events           1.98k    13.2s    0.2%  6.67ms   3.90GiB   99.7%  2.01MiB
+      Agents.jl Add Event    43.2M    9.22s    0.1%   214ns   3.90GiB   99.7%    96.9B
+    Process Imminent         43.2M    11.7s    0.2%   272ns     0.00B    0.0%    0.00B
+    Process Receivers        43.2M    5.03s    0.1%   116ns    845KiB    0.0%    0.02B
+──────────────────────────────────────────────────────────────────────────────────────
+        Creation: 0.0725s | Setup: 3.1598s | Sim: 6561.9895s