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
18,1179648,0
35,1179648,0
54,1179648,0
70,1179648,0
1 timestamp_ms memory_bytes cpu_percent
2 18 1179648 0
3 35 1179648 0
4 54 1179648 0
5 70 1179648 0
+5
View File
@@ -0,0 +1,5 @@
timestamp_ms,memory_bytes,cpu_percent
16,1196032,0
30,1196032,0
45,1196032,0
59,1196032,0
1 timestamp_ms memory_bytes cpu_percent
2 16 1196032 0
3 30 1196032 0
4 45 1196032 0
5 59 1196032 0
+5
View File
@@ -0,0 +1,5 @@
timestamp_ms,memory_bytes,cpu_percent
11,1179648,0
23,1179648,0
35,1179648,0
47,1179648,0
1 timestamp_ms memory_bytes cpu_percent
2 11 1179648 0
3 23 1179648 0
4 35 1179648 0
5 47 1179648 0
+5
View File
@@ -0,0 +1,5 @@
timestamp_ms,memory_bytes,cpu_percent
14,1179648,0
30,1179648,0
42,1179648,0
58,1179648,0
1 timestamp_ms memory_bytes cpu_percent
2 14 1179648 0
3 30 1179648 0
4 42 1179648 0
5 58 1179648 0
+10
View File
@@ -0,0 +1,10 @@
metric,value
time_ms,65
memory_bytes,45208917
peak_memory_bytes,45383680
real_time_s,.046
user_time_s,.040
sys_time_s,.013
instructions,17527899
cycles,7459125
ipc,2.34
1 metric value
2 time_ms 65
3 memory_bytes 45208917
4 peak_memory_bytes 45383680
5 real_time_s .046
6 user_time_s .040
7 sys_time_s .013
8 instructions 17527899
9 cycles 7459125
10 ipc 2.34