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
+13
View File
@@ -0,0 +1,13 @@
timestamp_ms,memory_bytes,cpu_percent
12,1179648,0
26,1179648,0
41,1179648,0
54,1179648,0
72,1179648,0
85,1179648,0
102,1179648,0
126,1179648,0
143,1179648,0
164,1179648,0
187,1179648,0
202,1179648,0
1 timestamp_ms memory_bytes cpu_percent
2 12 1179648 0
3 26 1179648 0
4 41 1179648 0
5 54 1179648 0
6 72 1179648 0
7 85 1179648 0
8 102 1179648 0
9 126 1179648 0
10 143 1179648 0
11 164 1179648 0
12 187 1179648 0
13 202 1179648 0
+14
View File
@@ -0,0 +1,14 @@
timestamp_ms,memory_bytes,cpu_percent
16,1179648,0
32,1179648,0
49,1179648,0
64,1179648,0
79,1179648,0
96,1179648,0
109,1179648,0
125,1179648,0
139,1179648,0
157,1179648,0
175,1179648,0
192,1179648,0
205,1179648,0
1 timestamp_ms memory_bytes cpu_percent
2 16 1179648 0
3 32 1179648 0
4 49 1179648 0
5 64 1179648 0
6 79 1179648 0
7 96 1179648 0
8 109 1179648 0
9 125 1179648 0
10 139 1179648 0
11 157 1179648 0
12 175 1179648 0
13 192 1179648 0
14 205 1179648 0
+14
View File
@@ -0,0 +1,14 @@
timestamp_ms,memory_bytes,cpu_percent
15,1179648,0
33,1179648,0
50,1179648,0
67,1179648,0
82,1179648,0
97,1179648,0
111,1179648,0
123,1179648,0
141,1179648,0
155,1179648,0
176,1179648,0
194,1179648,0
208,1179648,0
1 timestamp_ms memory_bytes cpu_percent
2 15 1179648 0
3 33 1179648 0
4 50 1179648 0
5 67 1179648 0
6 82 1179648 0
7 97 1179648 0
8 111 1179648 0
9 123 1179648 0
10 141 1179648 0
11 155 1179648 0
12 176 1179648 0
13 194 1179648 0
14 208 1179648 0
+14
View File
@@ -0,0 +1,14 @@
timestamp_ms,memory_bytes,cpu_percent
16,1179648,0
32,1179648,0
48,1179648,0
66,1179648,0
83,1179648,0
100,1179648,0
117,1179648,0
131,1179648,0
147,1179648,0
162,1179648,0
181,1179648,0
196,1179648,0
212,1179648,0
1 timestamp_ms memory_bytes cpu_percent
2 16 1179648 0
3 32 1179648 0
4 48 1179648 0
5 66 1179648 0
6 83 1179648 0
7 100 1179648 0
8 117 1179648 0
9 131 1179648 0
10 147 1179648 0
11 162 1179648 0
12 181 1179648 0
13 196 1179648 0
14 212 1179648 0
+10
View File
@@ -0,0 +1,10 @@
metric,value
time_ms,220
memory_bytes,91253418
peak_memory_bytes,91734016
real_time_s,.200
user_time_s,.143
sys_time_s,.036
instructions,18177908
cycles,8751540
ipc,2.07
1 metric value
2 time_ms 220
3 memory_bytes 91253418
4 peak_memory_bytes 91734016
5 real_time_s .200
6 user_time_s .143
7 sys_time_s .036
8 instructions 18177908
9 cycles 8751540
10 ipc 2.07