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
+6
View File
@@ -0,0 +1,6 @@
timestamp_ms,memory_bytes,cpu_percent
18,1179648,0
34,1179648,0
51,1179648,0
69,1179648,0
83,1179648,0
1 timestamp_ms memory_bytes cpu_percent
2 18 1179648 0
3 34 1179648 0
4 51 1179648 0
5 69 1179648 0
6 83 1179648 0
+6
View File
@@ -0,0 +1,6 @@
timestamp_ms,memory_bytes,cpu_percent
14,1179648,0
33,1179648,0
53,1179648,0
76,1179648,0
99,0,0
1 timestamp_ms memory_bytes cpu_percent
2 14 1179648 0
3 33 1179648 0
4 53 1179648 0
5 76 1179648 0
6 99 0 0
+5
View File
@@ -0,0 +1,5 @@
timestamp_ms,memory_bytes,cpu_percent
19,1179648,0
32,1179648,0
52,1179648,0
67,1179648,0
1 timestamp_ms memory_bytes cpu_percent
2 19 1179648 0
3 32 1179648 0
4 52 1179648 0
5 67 1179648 0
+6
View File
@@ -0,0 +1,6 @@
timestamp_ms,memory_bytes,cpu_percent
13,1179648,0
30,1179648,0
50,1179648,0
66,1179648,0
81,1179648,0
1 timestamp_ms memory_bytes cpu_percent
2 13 1179648 0
3 30 1179648 0
4 50 1179648 0
5 66 1179648 0
6 81 1179648 0
+10
View File
@@ -0,0 +1,10 @@
metric,value
time_ms,95
memory_bytes,26624000
peak_memory_bytes,26689536
real_time_s,.066
user_time_s,.043
sys_time_s,.010
instructions,17546554
cycles,7685481
ipc,2.28
1 metric value
2 time_ms 95
3 memory_bytes 26624000
4 peak_memory_bytes 26689536
5 real_time_s .066
6 user_time_s .043
7 sys_time_s .010
8 instructions 17546554
9 cycles 7685481
10 ipc 2.28