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
+11
View File
@@ -0,0 +1,11 @@
timestamp_ms,memory_bytes,cpu_percent
15,1179648,0
31,1179648,0
46,1179648,0
77,1179648,0
96,1179648,0
112,1179648,0
126,1179648,0
142,1179648,0
161,1179648,0
178,1179648,0
1 timestamp_ms memory_bytes cpu_percent
2 15 1179648 0
3 31 1179648 0
4 46 1179648 0
5 77 1179648 0
6 96 1179648 0
7 112 1179648 0
8 126 1179648 0
9 142 1179648 0
10 161 1179648 0
11 178 1179648 0
+11
View File
@@ -0,0 +1,11 @@
timestamp_ms,memory_bytes,cpu_percent
13,1179648,0
31,1179648,0
49,1179648,0
67,1179648,0
87,1179648,0
106,1179648,0
120,1179648,0
138,1179648,0
152,1179648,0
167,1179648,0
1 timestamp_ms memory_bytes cpu_percent
2 13 1179648 0
3 31 1179648 0
4 49 1179648 0
5 67 1179648 0
6 87 1179648 0
7 106 1179648 0
8 120 1179648 0
9 138 1179648 0
10 152 1179648 0
11 167 1179648 0
+11
View File
@@ -0,0 +1,11 @@
timestamp_ms,memory_bytes,cpu_percent
13,1179648,0
26,1179648,0
40,1179648,0
58,1179648,0
75,1179648,0
88,1179648,0
107,1179648,0
123,1179648,0
139,1179648,0
154,1179648,0
1 timestamp_ms memory_bytes cpu_percent
2 13 1179648 0
3 26 1179648 0
4 40 1179648 0
5 58 1179648 0
6 75 1179648 0
7 88 1179648 0
8 107 1179648 0
9 123 1179648 0
10 139 1179648 0
11 154 1179648 0
+14
View File
@@ -0,0 +1,14 @@
timestamp_ms,memory_bytes,cpu_percent
15,1196032,0
29,1196032,0
45,1196032,0
60,1196032,0
78,1196032,0
96,1196032,0
113,1196032,0
131,1196032,0
145,1196032,0
162,1196032,0
177,1196032,0
196,1196032,0
217,1196032,0
1 timestamp_ms memory_bytes cpu_percent
2 15 1196032 0
3 29 1196032 0
4 45 1196032 0
5 60 1196032 0
6 78 1196032 0
7 96 1196032 0
8 113 1196032 0
9 131 1196032 0
10 145 1196032 0
11 162 1196032 0
12 177 1196032 0
13 196 1196032 0
14 217 1196032 0
+10
View File
@@ -0,0 +1,10 @@
metric,value
time_ms,190
memory_bytes,236235434
peak_memory_bytes,236355584
real_time_s,.173
user_time_s,.116
sys_time_s,.033
instructions,17691121
cycles,7819185
ipc,2.26
1 metric value
2 time_ms 190
3 memory_bytes 236235434
4 peak_memory_bytes 236355584
5 real_time_s .173
6 user_time_s .116
7 sys_time_s .033
8 instructions 17691121
9 cycles 7819185
10 ipc 2.26