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
+79
View File
@@ -0,0 +1,79 @@
timestamp_ms,memory_bytes,cpu_percent
1604,557056,0
23,1179648,0
1632,557056,0
47,1179648,0
1659,557056,0
72,1179648,0
88,1179648,0
104,1179648,0
128,1179648,0
146,1179648,0
166,1179648,0
190,1179648,0
205,1179648,0
221,1179648,0
240,1179648,0
256,1179648,0
273,1179648,0
296,1179648,0
312,1179648,0
327,1179648,0
343,1179648,0
359,1179648,0
376,1179648,0
393,1179648,0
410,1179648,0
428,1179648,0
445,1179648,0
467,1179648,0
486,1179648,0
501,1179648,0
512,1179648,0
522,1179648,0
533,1179648,0
542,1179648,0
553,1179648,0
563,1179648,0
576,1179648,0
593,1179648,0
612,1179648,0
624,1179648,0
641,1179648,0
653,1179648,0
670,1179648,0
686,1179648,0
701,1179648,0
716,1179648,0
732,1179648,0
754,1179648,0
776,1179648,0
795,1179648,0
819,1179648,0
835,1179648,0
851,1097728,0
873,1097728,0
929,933888,0
971,933888,0
1011,933888,0
1040,868352,0
1067,868352,0
1096,868352,0
1117,868352,0
1163,540672,0
1207,540672,0
1233,540672,0
1258,540672,0
1279,540672,0
1301,540672,0
1324,540672,0
1355,540672,0
1389,557056,0
1417,557056,0
1449,557056,0
1484,557056,0
1504,557056,0
1530,557056,0
1550,557056,0
1571,557056,0
1604,557056,0
1 timestamp_ms memory_bytes cpu_percent
2 1604 557056 0
3 23 1179648 0
4 1632 557056 0
5 47 1179648 0
6 1659 557056 0
7 72 1179648 0
8 88 1179648 0
9 104 1179648 0
10 128 1179648 0
11 146 1179648 0
12 166 1179648 0
13 190 1179648 0
14 205 1179648 0
15 221 1179648 0
16 240 1179648 0
17 256 1179648 0
18 273 1179648 0
19 296 1179648 0
20 312 1179648 0
21 327 1179648 0
22 343 1179648 0
23 359 1179648 0
24 376 1179648 0
25 393 1179648 0
26 410 1179648 0
27 428 1179648 0
28 445 1179648 0
29 467 1179648 0
30 486 1179648 0
31 501 1179648 0
32 512 1179648 0
33 522 1179648 0
34 533 1179648 0
35 542 1179648 0
36 553 1179648 0
37 563 1179648 0
38 576 1179648 0
39 593 1179648 0
40 612 1179648 0
41 624 1179648 0
42 641 1179648 0
43 653 1179648 0
44 670 1179648 0
45 686 1179648 0
46 701 1179648 0
47 716 1179648 0
48 732 1179648 0
49 754 1179648 0
50 776 1179648 0
51 795 1179648 0
52 819 1179648 0
53 835 1179648 0
54 851 1097728 0
55 873 1097728 0
56 929 933888 0
57 971 933888 0
58 1011 933888 0
59 1040 868352 0
60 1067 868352 0
61 1096 868352 0
62 1117 868352 0
63 1163 540672 0
64 1207 540672 0
65 1233 540672 0
66 1258 540672 0
67 1279 540672 0
68 1301 540672 0
69 1324 540672 0
70 1355 540672 0
71 1389 557056 0
72 1417 557056 0
73 1449 557056 0
74 1484 557056 0
75 1504 557056 0
76 1530 557056 0
77 1550 557056 0
78 1571 557056 0
79 1604 557056 0
+67
View File
@@ -0,0 +1,67 @@
timestamp_ms,memory_bytes,cpu_percent
16,1179648,0
32,1179648,0
47,1179648,0
66,1179648,0
86,1179648,0
113,1179648,0
131,1179648,0
160,1179648,0
175,1179648,0
193,1179648,0
210,1179648,0
237,1179648,0
255,1179648,0
273,1179648,0
287,1179648,0
311,1179648,0
328,1179648,0
342,1179648,0
355,1179648,0
364,1179648,0
374,1179648,0
384,1179648,0
393,1179648,0
403,1179648,0
412,1179648,0
429,1179648,0
449,1179648,0
464,1179648,0
478,1179648,0
492,1179648,0
509,1179648,0
529,1179648,0
546,1179648,0
564,1179648,0
581,1179648,0
598,1179648,0
618,1179648,0
634,1179648,0
651,1179648,0
667,1179648,0
684,1179648,0
729,1179648,0
788,1179648,0
814,1179648,0
842,1179648,0
867,1179648,0
893,1179648,0
919,1179648,0
943,1179648,0
963,1179648,0
988,1179648,0
1007,1179648,0
1030,1179648,0
1045,1179648,0
1066,1179648,0
1090,1179648,0
1116,1179648,0
1140,1179648,0
1162,1179648,0
1189,1179648,0
1205,1179648,0
1221,1179648,0
1237,1179648,0
1252,1179648,0
1272,1179648,0
1286,1179648,0
1 timestamp_ms memory_bytes cpu_percent
2 16 1179648 0
3 32 1179648 0
4 47 1179648 0
5 66 1179648 0
6 86 1179648 0
7 113 1179648 0
8 131 1179648 0
9 160 1179648 0
10 175 1179648 0
11 193 1179648 0
12 210 1179648 0
13 237 1179648 0
14 255 1179648 0
15 273 1179648 0
16 287 1179648 0
17 311 1179648 0
18 328 1179648 0
19 342 1179648 0
20 355 1179648 0
21 364 1179648 0
22 374 1179648 0
23 384 1179648 0
24 393 1179648 0
25 403 1179648 0
26 412 1179648 0
27 429 1179648 0
28 449 1179648 0
29 464 1179648 0
30 478 1179648 0
31 492 1179648 0
32 509 1179648 0
33 529 1179648 0
34 546 1179648 0
35 564 1179648 0
36 581 1179648 0
37 598 1179648 0
38 618 1179648 0
39 634 1179648 0
40 651 1179648 0
41 667 1179648 0
42 684 1179648 0
43 729 1179648 0
44 788 1179648 0
45 814 1179648 0
46 842 1179648 0
47 867 1179648 0
48 893 1179648 0
49 919 1179648 0
50 943 1179648 0
51 963 1179648 0
52 988 1179648 0
53 1007 1179648 0
54 1030 1179648 0
55 1045 1179648 0
56 1066 1179648 0
57 1090 1179648 0
58 1116 1179648 0
59 1140 1179648 0
60 1162 1179648 0
61 1189 1179648 0
62 1205 1179648 0
63 1221 1179648 0
64 1237 1179648 0
65 1252 1179648 0
66 1272 1179648 0
67 1286 1179648 0
+71
View File
@@ -0,0 +1,71 @@
timestamp_ms,memory_bytes,cpu_percent
12,1179648,0
30,1179648,0
46,1179648,0
65,1179648,0
85,1179648,0
106,1179648,0
134,1179648,0
160,1179648,0
176,1179648,0
193,1179648,0
213,1179648,0
230,1179648,0
252,1179648,0
267,1179648,0
290,1179648,0
310,1179648,0
335,1179648,0
352,1179648,0
367,1179648,0
378,1179648,0
393,1179648,0
402,1179648,0
412,1179648,0
423,1179648,0
436,1179648,0
452,1179648,0
465,1179648,0
480,1179648,0
495,1179648,0
511,1179648,0
523,1179648,0
539,1179648,0
554,1179648,0
567,1179648,0
583,1179648,0
599,1179648,0
613,1179648,0
629,1179648,0
645,1179648,0
660,1179648,0
677,1179648,0
691,1179648,0
712,1179648,0
733,1179648,0
776,1179648,0
820,1179648,0
860,1179648,0
893,1179648,0
913,1179648,0
934,1179648,0
958,1179648,0
978,1179648,0
1005,1179648,0
1034,1179648,0
1060,1179648,0
1084,1179648,0
1136,737280,0
1171,557056,0
1209,557056,0
1243,557056,0
1265,557056,0
1294,557056,0
1325,557056,0
1349,557056,0
1376,557056,0
1396,573440,0
1416,573440,0
1434,573440,0
1454,573440,0
1471,0,0
1 timestamp_ms memory_bytes cpu_percent
2 12 1179648 0
3 30 1179648 0
4 46 1179648 0
5 65 1179648 0
6 85 1179648 0
7 106 1179648 0
8 134 1179648 0
9 160 1179648 0
10 176 1179648 0
11 193 1179648 0
12 213 1179648 0
13 230 1179648 0
14 252 1179648 0
15 267 1179648 0
16 290 1179648 0
17 310 1179648 0
18 335 1179648 0
19 352 1179648 0
20 367 1179648 0
21 378 1179648 0
22 393 1179648 0
23 402 1179648 0
24 412 1179648 0
25 423 1179648 0
26 436 1179648 0
27 452 1179648 0
28 465 1179648 0
29 480 1179648 0
30 495 1179648 0
31 511 1179648 0
32 523 1179648 0
33 539 1179648 0
34 554 1179648 0
35 567 1179648 0
36 583 1179648 0
37 599 1179648 0
38 613 1179648 0
39 629 1179648 0
40 645 1179648 0
41 660 1179648 0
42 677 1179648 0
43 691 1179648 0
44 712 1179648 0
45 733 1179648 0
46 776 1179648 0
47 820 1179648 0
48 860 1179648 0
49 893 1179648 0
50 913 1179648 0
51 934 1179648 0
52 958 1179648 0
53 978 1179648 0
54 1005 1179648 0
55 1034 1179648 0
56 1060 1179648 0
57 1084 1179648 0
58 1136 737280 0
59 1171 557056 0
60 1209 557056 0
61 1243 557056 0
62 1265 557056 0
63 1294 557056 0
64 1325 557056 0
65 1349 557056 0
66 1376 557056 0
67 1396 573440 0
68 1416 573440 0
69 1434 573440 0
70 1454 573440 0
71 1471 0 0
+61
View File
@@ -0,0 +1,61 @@
timestamp_ms,memory_bytes,cpu_percent
22,1179648,0
44,1179648,0
58,1179648,0
74,1179648,0
105,1179648,0
122,1179648,0
152,1179648,0
171,1179648,0
195,1179648,0
211,1179648,0
232,1179648,0
254,1179648,0
272,1179648,0
289,1179648,0
305,1179648,0
318,1179648,0
332,1179648,0
343,1179648,0
354,1179648,0
364,1179648,0
376,1179648,0
390,1179648,0
404,1179648,0
417,1179648,0
434,1179648,0
454,1179648,0
470,1179648,0
485,1179648,0
507,1179648,0
522,1179648,0
544,1179648,0
559,1179648,0
575,1179648,0
593,1179648,0
609,1179648,0
636,1179648,0
664,1179648,0
703,1179648,0
749,1179648,0
784,1179648,0
805,1179648,0
827,1179648,0
853,1179648,0
877,1179648,0
901,1179648,0
925,1179648,0
951,1179648,0
982,1179648,0
1010,1179648,0
1033,1179648,0
1056,1179648,0
1075,1179648,0
1098,1179648,0
1125,1179648,0
1165,1179648,0
1183,1179648,0
1207,1179648,0
1226,1179648,0
1261,1179648,0
1287,1179648,0
1 timestamp_ms memory_bytes cpu_percent
2 22 1179648 0
3 44 1179648 0
4 58 1179648 0
5 74 1179648 0
6 105 1179648 0
7 122 1179648 0
8 152 1179648 0
9 171 1179648 0
10 195 1179648 0
11 211 1179648 0
12 232 1179648 0
13 254 1179648 0
14 272 1179648 0
15 289 1179648 0
16 305 1179648 0
17 318 1179648 0
18 332 1179648 0
19 343 1179648 0
20 354 1179648 0
21 364 1179648 0
22 376 1179648 0
23 390 1179648 0
24 404 1179648 0
25 417 1179648 0
26 434 1179648 0
27 454 1179648 0
28 470 1179648 0
29 485 1179648 0
30 507 1179648 0
31 522 1179648 0
32 544 1179648 0
33 559 1179648 0
34 575 1179648 0
35 593 1179648 0
36 609 1179648 0
37 636 1179648 0
38 664 1179648 0
39 703 1179648 0
40 749 1179648 0
41 784 1179648 0
42 805 1179648 0
43 827 1179648 0
44 853 1179648 0
45 877 1179648 0
46 901 1179648 0
47 925 1179648 0
48 951 1179648 0
49 982 1179648 0
50 1010 1179648 0
51 1033 1179648 0
52 1056 1179648 0
53 1075 1179648 0
54 1098 1179648 0
55 1125 1179648 0
56 1165 1179648 0
57 1183 1179648 0
58 1207 1179648 0
59 1226 1179648 0
60 1261 1179648 0
61 1287 1179648 0
+10
View File
@@ -0,0 +1,10 @@
metric,value
time_ms,1361
memory_bytes,208289792
peak_memory_bytes,218808320
real_time_s,1.333
user_time_s,1.700
sys_time_s,.183
instructions,17642488
cycles,7699920
ipc,2.29
1 metric value
2 time_ms 1361
3 memory_bytes 208289792
4 peak_memory_bytes 218808320
5 real_time_s 1.333
6 user_time_s 1.700
7 sys_time_s .183
8 instructions 17642488
9 cycles 7699920
10 ipc 2.29