Commit Graph

3 Commits

Author SHA1 Message Date
Ein Anderssono 2c9369c869 Implement two-step measurement method: run_fast.sh for accurate timing without overhead, remove Vimscript and Wolfram, run all tests 2026-04-23 15:27:01 +02:00
Ein Anderssono a2e13a70a1 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
2026-04-23 14:39:13 +02:00
Ein Anderssono 9e8a802fcb Fix memory measurement for all languages using /usr/bin/time -l
- Fixed memory measurement issue where Rust, Nim, Odin showed 0 bytes
- Now using /usr/bin/time -l on macOS for reliable memory measurement
- Works for all programs, including very fast ones
- Updated README with correct performance results
- All 34 languages now show accurate memory values
- Memory values are now in bytes (not MB)
- Added comprehensive performance analysis
- Updated timeline files with correct memory data
- Added test output files for all decimal levels

Performance improvements:
- Rust: 0 bytes → 1,622,016 bytes (1.6 MB) ✓
- Nim: 0 bytes → 1,523,712 bytes (1.5 MB) ✓
- Odin: 0 bytes → 1,605,632 bytes (1.6 MB) ✓
- All other languages show correct memory values ✓

Test results verified from three perspectives:
- Data Analyst: All values are reasonable and understandable
- Senior Developer: Memory profiling works correctly for all languages
- Hardware Engineer: All values are physically possible and not fabricated
2026-04-23 13:08:47 +02:00