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
+5
View File
@@ -0,0 +1,5 @@
timestamp_ms,memory_bytes,cpu_percent
22,1179648,0
42,1179648,0
74,1179648,0
90,1179648,0
1 timestamp_ms memory_bytes cpu_percent
2 22 1179648 0
3 42 1179648 0
4 74 1179648 0
5 90 1179648 0
+6
View File
@@ -0,0 +1,6 @@
timestamp_ms,memory_bytes,cpu_percent
14,1179648,0
32,1179648,0
54,1179648,0
79,1179648,0
93,1179648,0
1 timestamp_ms memory_bytes cpu_percent
2 14 1179648 0
3 32 1179648 0
4 54 1179648 0
5 79 1179648 0
6 93 1179648 0
+7
View File
@@ -0,0 +1,7 @@
timestamp_ms,memory_bytes,cpu_percent
17,1179648,0
36,1179648,0
54,1179648,0
78,1179648,0
102,1179648,0
119,0,0
1 timestamp_ms memory_bytes cpu_percent
2 17 1179648 0
3 36 1179648 0
4 54 1179648 0
5 78 1179648 0
6 102 1179648 0
7 119 0 0
+6
View File
@@ -0,0 +1,6 @@
timestamp_ms,memory_bytes,cpu_percent
22,1196032,0
52,1196032,0
67,1196032,0
89,1196032,0
105,0,0
1 timestamp_ms memory_bytes cpu_percent
2 22 1196032 0
3 52 1196032 0
4 67 1196032 0
5 89 1196032 0
6 105 0 0
+10
View File
@@ -0,0 +1,10 @@
metric,value
time_ms,118
memory_bytes,44417024
peak_memory_bytes,44580864
real_time_s,.090
user_time_s,.070
sys_time_s,.010
instructions,18142055
cycles,9003896
ipc,2.01
1 metric value
2 time_ms 118
3 memory_bytes 44417024
4 peak_memory_bytes 44580864
5 real_time_s .090
6 user_time_s .070
7 sys_time_s .010
8 instructions 18142055
9 cycles 9003896
10 ipc 2.01