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
+29
View File
@@ -0,0 +1,29 @@
timestamp_ms,memory_bytes,cpu_percent
17,1179648,0
33,1179648,0
49,1179648,0
65,1179648,0
86,1179648,0
102,1179648,0
119,1179648,0
135,1179648,0
150,1179648,0
166,1179648,0
179,1179648,0
193,1179648,0
206,1179648,0
218,1179648,0
231,1179648,0
245,1179648,0
256,1179648,0
271,1179648,0
296,1179648,0
311,1179648,0
324,1179648,0
335,1179648,0
350,1179648,0
363,1179648,0
377,1179648,0
392,1179648,0
406,1179648,0
418,1179648,0
1 timestamp_ms memory_bytes cpu_percent
2 17 1179648 0
3 33 1179648 0
4 49 1179648 0
5 65 1179648 0
6 86 1179648 0
7 102 1179648 0
8 119 1179648 0
9 135 1179648 0
10 150 1179648 0
11 166 1179648 0
12 179 1179648 0
13 193 1179648 0
14 206 1179648 0
15 218 1179648 0
16 231 1179648 0
17 245 1179648 0
18 256 1179648 0
19 271 1179648 0
20 296 1179648 0
21 311 1179648 0
22 324 1179648 0
23 335 1179648 0
24 350 1179648 0
25 363 1179648 0
26 377 1179648 0
27 392 1179648 0
28 406 1179648 0
29 418 1179648 0
+28
View File
@@ -0,0 +1,28 @@
timestamp_ms,memory_bytes,cpu_percent
15,1179648,0
29,1179648,0
44,1179648,0
56,1179648,0
71,1179648,0
87,1179648,0
102,1179648,0
116,1179648,0
128,1179648,0
143,1179648,0
157,1179648,0
173,1179648,0
193,1179648,0
212,1179648,0
232,1179648,0
248,1179648,0
264,1179648,0
278,1179648,0
292,1179648,0
307,1179648,0
322,1179648,0
336,1179648,0
350,1179648,0
362,1179648,0
374,1179648,0
387,1179648,0
401,1179648,0
1 timestamp_ms memory_bytes cpu_percent
2 15 1179648 0
3 29 1179648 0
4 44 1179648 0
5 56 1179648 0
6 71 1179648 0
7 87 1179648 0
8 102 1179648 0
9 116 1179648 0
10 128 1179648 0
11 143 1179648 0
12 157 1179648 0
13 173 1179648 0
14 193 1179648 0
15 212 1179648 0
16 232 1179648 0
17 248 1179648 0
18 264 1179648 0
19 278 1179648 0
20 292 1179648 0
21 307 1179648 0
22 322 1179648 0
23 336 1179648 0
24 350 1179648 0
25 362 1179648 0
26 374 1179648 0
27 387 1179648 0
28 401 1179648 0
+28
View File
@@ -0,0 +1,28 @@
timestamp_ms,memory_bytes,cpu_percent
12,1179648,0
23,1179648,0
35,1179648,0
48,1179648,0
65,1179648,0
78,1179648,0
94,1179648,0
114,1179648,0
132,1179648,0
147,1179648,0
164,1179648,0
179,1179648,0
197,1179648,0
212,1179648,0
228,1179648,0
243,1179648,0
260,1179648,0
275,1179648,0
290,1179648,0
305,1179648,0
317,1179648,0
330,1179648,0
344,1179648,0
358,1179648,0
374,1179648,0
389,1179648,0
404,1179648,0
1 timestamp_ms memory_bytes cpu_percent
2 12 1179648 0
3 23 1179648 0
4 35 1179648 0
5 48 1179648 0
6 65 1179648 0
7 78 1179648 0
8 94 1179648 0
9 114 1179648 0
10 132 1179648 0
11 147 1179648 0
12 164 1179648 0
13 179 1179648 0
14 197 1179648 0
15 212 1179648 0
16 228 1179648 0
17 243 1179648 0
18 260 1179648 0
19 275 1179648 0
20 290 1179648 0
21 305 1179648 0
22 317 1179648 0
23 330 1179648 0
24 344 1179648 0
25 358 1179648 0
26 374 1179648 0
27 389 1179648 0
28 404 1179648 0
+28
View File
@@ -0,0 +1,28 @@
timestamp_ms,memory_bytes,cpu_percent
14,1179648,0
28,1179648,0
43,1179648,0
59,1179648,0
74,1179648,0
88,1179648,0
103,1179648,0
117,1179648,0
128,1179648,0
143,1179648,0
158,1179648,0
171,1179648,0
184,1179648,0
199,1179648,0
210,1179648,0
222,1179648,0
236,1179648,0
249,1179648,0
262,1179648,0
279,1179648,0
291,1179648,0
303,1179648,0
317,1179648,0
333,1179648,0
352,1179648,0
366,1179648,0
379,1179648,0
1 timestamp_ms memory_bytes cpu_percent
2 14 1179648 0
3 28 1179648 0
4 43 1179648 0
5 59 1179648 0
6 74 1179648 0
7 88 1179648 0
8 103 1179648 0
9 117 1179648 0
10 128 1179648 0
11 143 1179648 0
12 158 1179648 0
13 171 1179648 0
14 184 1179648 0
15 199 1179648 0
16 210 1179648 0
17 222 1179648 0
18 236 1179648 0
19 249 1179648 0
20 262 1179648 0
21 279 1179648 0
22 291 1179648 0
23 303 1179648 0
24 317 1179648 0
25 333 1179648 0
26 352 1179648 0
27 366 1179648 0
28 379 1179648 0
+10
View File
@@ -0,0 +1,10 @@
metric,value
time_ms,406
memory_bytes,89161728
peak_memory_bytes,89260032
real_time_s,.393
user_time_s,.296
sys_time_s,.216
instructions,17505478
cycles,7380020
ipc,2.37
1 metric value
2 time_ms 406
3 memory_bytes 89161728
4 peak_memory_bytes 89260032
5 real_time_s .393
6 user_time_s .296
7 sys_time_s .216
8 instructions 17505478
9 cycles 7380020
10 ipc 2.37