Add comprehensive performance metrics and data collection

- Added instructions, cycles, and IPC metrics to all reports
- Created CSV data files for each language with detailed metrics
- Added timeline data (memory and CPU over time) for each run
- Updated all reports with new metrics
- Created analysis script to analyze collected data
- Generated reports for all decimal levels (1, 2, 5, 10, 100, 1000, 2000)

Key findings:
- D has highest IPC (4.00) - most efficient CPU usage
- Crystal is fastest (22ms) - faster than C and C++
- Assembly is most memory efficient (1.4MB)
- Rust and Fortran have IPC 3.11 - good optimization
This commit is contained in:
Ein Anderssono
2026-04-23 14:39:13 +02:00
parent 443172606b
commit a2e13a70a1
303 changed files with 2281 additions and 1810 deletions
+28
View File
@@ -0,0 +1,28 @@
timestamp_ms,memory_bytes,cpu_percent
19,1179648,0
36,1179648,0
55,1179648,0
75,1179648,0
95,1179648,0
109,1179648,0
122,1179648,0
133,1179648,0
144,1179648,0
155,1179648,0
167,1179648,0
181,1179648,0
192,1179648,0
205,1179648,0
217,1179648,0
227,1179648,0
241,1179648,0
252,1179648,0
265,1179648,0
276,1179648,0
289,1179648,0
301,1179648,0
316,1179648,0
331,1179648,0
353,1179648,0
369,1179648,0
388,1179648,0
1 timestamp_ms memory_bytes cpu_percent
2 19 1179648 0
3 36 1179648 0
4 55 1179648 0
5 75 1179648 0
6 95 1179648 0
7 109 1179648 0
8 122 1179648 0
9 133 1179648 0
10 144 1179648 0
11 155 1179648 0
12 167 1179648 0
13 181 1179648 0
14 192 1179648 0
15 205 1179648 0
16 217 1179648 0
17 227 1179648 0
18 241 1179648 0
19 252 1179648 0
20 265 1179648 0
21 276 1179648 0
22 289 1179648 0
23 301 1179648 0
24 316 1179648 0
25 331 1179648 0
26 353 1179648 0
27 369 1179648 0
28 388 1179648 0
+29
View File
@@ -0,0 +1,29 @@
timestamp_ms,memory_bytes,cpu_percent
15,1179648,0
31,1179648,0
47,1179648,0
64,1179648,0
81,1179648,0
100,1179648,0
122,1179648,0
137,1179648,0
149,1179648,0
161,1179648,0
172,1179648,0
183,1179648,0
195,1179648,0
206,1179648,0
219,1179648,0
233,1179648,0
251,1179648,0
265,1179648,0
277,1179648,0
289,1179648,0
301,1179648,0
314,1179648,0
326,1179648,0
338,1179648,0
352,1179648,0
364,1179648,0
380,1179648,0
395,1179648,0
1 timestamp_ms memory_bytes cpu_percent
2 15 1179648 0
3 31 1179648 0
4 47 1179648 0
5 64 1179648 0
6 81 1179648 0
7 100 1179648 0
8 122 1179648 0
9 137 1179648 0
10 149 1179648 0
11 161 1179648 0
12 172 1179648 0
13 183 1179648 0
14 195 1179648 0
15 206 1179648 0
16 219 1179648 0
17 233 1179648 0
18 251 1179648 0
19 265 1179648 0
20 277 1179648 0
21 289 1179648 0
22 301 1179648 0
23 314 1179648 0
24 326 1179648 0
25 338 1179648 0
26 352 1179648 0
27 364 1179648 0
28 380 1179648 0
29 395 1179648 0
+29
View File
@@ -0,0 +1,29 @@
timestamp_ms,memory_bytes,cpu_percent
18,1179648,0
34,1179648,0
53,1179648,0
72,1179648,0
89,1179648,0
107,1179648,0
120,1179648,0
131,1179648,0
143,1179648,0
154,1179648,0
165,1179648,0
176,1179648,0
189,1179648,0
200,1179648,0
213,1179648,0
228,1179648,0
241,1179648,0
253,1179648,0
266,1179648,0
277,1179648,0
290,1179648,0
303,1179648,0
316,1179648,0
330,1179648,0
346,1179648,0
362,1179648,0
374,1179648,0
387,0,0
1 timestamp_ms memory_bytes cpu_percent
2 18 1179648 0
3 34 1179648 0
4 53 1179648 0
5 72 1179648 0
6 89 1179648 0
7 107 1179648 0
8 120 1179648 0
9 131 1179648 0
10 143 1179648 0
11 154 1179648 0
12 165 1179648 0
13 176 1179648 0
14 189 1179648 0
15 200 1179648 0
16 213 1179648 0
17 228 1179648 0
18 241 1179648 0
19 253 1179648 0
20 266 1179648 0
21 277 1179648 0
22 290 1179648 0
23 303 1179648 0
24 316 1179648 0
25 330 1179648 0
26 346 1179648 0
27 362 1179648 0
28 374 1179648 0
29 387 0 0
+32
View File
@@ -0,0 +1,32 @@
timestamp_ms,memory_bytes,cpu_percent
13,1196032,0
29,1196032,0
45,1196032,0
60,1196032,0
75,1196032,0
90,1196032,0
106,1196032,0
121,1196032,0
138,1196032,0
159,1196032,0
177,1196032,0
194,1196032,0
211,1196032,0
228,1196032,0
245,1196032,0
260,1196032,0
274,1196032,0
288,1196032,0
300,1196032,0
310,1196032,0
336,1196032,0
368,1196032,0
386,1196032,0
409,1196032,0
427,1196032,0
444,1196032,0
471,1196032,0
507,1196032,0
534,1196032,0
562,1196032,0
585,1196032,0
1 timestamp_ms memory_bytes cpu_percent
2 13 1196032 0
3 29 1196032 0
4 45 1196032 0
5 60 1196032 0
6 75 1196032 0
7 90 1196032 0
8 106 1196032 0
9 121 1196032 0
10 138 1196032 0
11 159 1196032 0
12 177 1196032 0
13 194 1196032 0
14 211 1196032 0
15 228 1196032 0
16 245 1196032 0
17 260 1196032 0
18 274 1196032 0
19 288 1196032 0
20 300 1196032 0
21 310 1196032 0
22 336 1196032 0
23 368 1196032 0
24 386 1196032 0
25 409 1196032 0
26 427 1196032 0
27 444 1196032 0
28 471 1196032 0
29 507 1196032 0
30 534 1196032 0
31 562 1196032 0
32 585 1196032 0
+10
View File
@@ -0,0 +1,10 @@
metric,value
time_ms,471
memory_bytes,55973205
peak_memory_bytes,58376192
real_time_s,.446
user_time_s,.193
sys_time_s,.066
instructions,18880700
cycles,8929948
ipc,2.11
1 metric value
2 time_ms 471
3 memory_bytes 55973205
4 peak_memory_bytes 58376192
5 real_time_s .446
6 user_time_s .193
7 sys_time_s .066
8 instructions 18880700
9 cycles 8929948
10 ipc 2.11