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
16,1179648,0
31,1179648,0
47,1179648,0
66,1179648,0
80,1179648,0
98,1179648,0
112,1179648,0
126,1179648,0
139,1179648,0
150,1179648,0
164,1179648,0
177,1179648,0
1 timestamp_ms memory_bytes cpu_percent
2 16 1179648 0
3 31 1179648 0
4 47 1179648 0
5 66 1179648 0
6 80 1179648 0
7 98 1179648 0
8 112 1179648 0
9 126 1179648 0
10 139 1179648 0
11 150 1179648 0
12 164 1179648 0
13 177 1179648 0
+11
View File
@@ -0,0 +1,11 @@
timestamp_ms,memory_bytes,cpu_percent
15,1179648,0
33,1179648,0
48,1179648,0
65,1179648,0
78,1179648,0
92,1179648,0
106,1179648,0
120,1179648,0
135,1179648,0
152,1179648,0
1 timestamp_ms memory_bytes cpu_percent
2 15 1179648 0
3 33 1179648 0
4 48 1179648 0
5 65 1179648 0
6 78 1179648 0
7 92 1179648 0
8 106 1179648 0
9 120 1179648 0
10 135 1179648 0
11 152 1179648 0
+13
View File
@@ -0,0 +1,13 @@
timestamp_ms,memory_bytes,cpu_percent
16,1179648,0
33,1179648,0
47,1179648,0
62,1179648,0
81,1179648,0
99,1179648,0
115,1179648,0
130,1179648,0
152,1179648,0
174,1179648,0
187,1179648,0
202,1179648,0
1 timestamp_ms memory_bytes cpu_percent
2 16 1179648 0
3 33 1179648 0
4 47 1179648 0
5 62 1179648 0
6 81 1179648 0
7 99 1179648 0
8 115 1179648 0
9 130 1179648 0
10 152 1179648 0
11 174 1179648 0
12 187 1179648 0
13 202 1179648 0
+12
View File
@@ -0,0 +1,12 @@
timestamp_ms,memory_bytes,cpu_percent
13,1179648,0
28,1179648,0
40,1179648,0
56,1179648,0
69,1179648,0
83,1179648,0
97,1179648,0
117,1179648,0
130,1179648,0
147,1179648,0
164,0,0
1 timestamp_ms memory_bytes cpu_percent
2 13 1179648 0
3 28 1179648 0
4 40 1179648 0
5 56 1179648 0
6 69 1179648 0
7 83 1179648 0
8 97 1179648 0
9 117 1179648 0
10 130 1179648 0
11 147 1179648 0
12 164 0 0
+10
View File
@@ -0,0 +1,10 @@
metric,value
time_ms,185
memory_bytes,77048490
peak_memory_bytes,77185024
real_time_s,.166
user_time_s,.120
sys_time_s,.100
instructions,17696158
cycles,7782102
ipc,2.27
1 metric value
2 time_ms 185
3 memory_bytes 77048490
4 peak_memory_bytes 77185024
5 real_time_s .166
6 user_time_s .120
7 sys_time_s .100
8 instructions 17696158
9 cycles 7782102
10 ipc 2.27