Commit Graph

17 Commits

Author SHA1 Message Date
Ein Anderssono 40745a3835 Add detailed profiling to all reports and README
- Update README.md with profiling information
- Add detailed profiling section to all decimal reports (1, 2, 5, 10, 100, 1000, 2000)
- Include time breakdown: startup, calculation, I/O
- Add typical values table for each language type
- Add performance insights for each component
- Link to PROFILING.md documentation
2026-04-23 10:41:10 +02:00
Ein Anderssono 54e0e36d0a Include all 34 languages in summary table for easy comparison 2026-04-23 10:18:25 +02:00
Ein Anderssono 43870e5920 Reorganize documentation: create separate reports for each decimal level
- Create reports/ directory with detailed performance reports
- Simplify README.md to provide overview and summary
- Add links to detailed reports for each decimal level (1, 2, 5, 10, 100, 1000, 2000)
- Keep summary table and key findings in main README
- Remove verbose charts from main README to reduce noise
2026-04-23 10:16:20 +02:00
Ein Anderssono 9c0e2f4dda Update Memory Usage Over Time charts with actual data from timeline files 2026-04-23 10:11:39 +02:00
Ein Anderssono be6f32fd74 Fix memory values: use actual bytes from timeline data instead of MB conversion 2026-04-23 10:05:27 +02:00
Ein Anderssono 2dcad0983c Restore README with correct time values in milliseconds 2026-04-23 10:01:52 +02:00
Ein Anderssono c4d5ed0500 Convert all memory values from MB to bytes in README
- Updated all memory charts to show bytes instead of MB
- Converted y-axis ranges from MB to bytes (e.g., 3 MB -> 3000000 bytes)
- Converted all memory values in charts (e.g., 2 MB -> 2000000 bytes)
- Updated all table headers to show 'Memory (bytes)'
- Better for comparing memory usage across all languages
2026-04-23 09:52:38 +02:00
Ein Anderssono a0394572cf Add performance charts for all decimal levels
- Added charts for 1, 2, 5, 10, 1000, 2000 decimals
- Each decimal level has compiled, JIT-compiled, and interpreted language charts
- Shows time performance scaling across different precision levels
- Demonstrates how languages perform with increasing decimal counts
- All charts use actual test data from benchmarks
2026-04-23 01:37:58 +02:00
Ein Anderssono 9795bd6e96 Update Mermaid charts with actual test data
- Updated compiled languages chart with real performance data
- Updated JIT-compiled languages chart with actual measurements
- Updated interpreted languages chart with test results
- Updated slowest languages chart with real data
- All charts now reflect actual benchmark results from 100 decimal tests
2026-04-23 01:37:01 +02:00
Ein Anderssono 3ef7736b1d Add comprehensive performance scaling data
- Added performance tables for 1, 2, 5, 10, 100, 1000, 2000 decimals
- Shows how each language scales with increasing precision
- Includes memory usage data for all decimal counts
- Added key observations about scaling behavior
- Documented performance leaders and memory efficiency patterns
2026-04-23 01:32:04 +02:00
Ein Anderssono c989bb8cb4 Convert README to English with natural flow
- Recreated entire README in English
- Preserved all technical details and data
- Improved flow and readability
- Kept Swedish version as README_SV.md for reference
- All charts and analysis now in English
2026-04-23 01:15:07 +02:00
Ein Anderssono c5fc60b89c Improve timeline diagrams with better scaling and analysis
- Scale x-axis to show full program lifetime
- Adjust y-axis per language for clarity
- Add detailed analysis for each diagram
- Group diagrams by language type (compiled, interpreted)
- Add comparison charts for fast and slow languages
- Explain memory patterns and insights
2026-04-23 01:06:47 +02:00
Ein Anderssono cbc9eef036 Add resource usage timeline diagrams to README
- Added Mermaid XY charts showing memory usage over time
- Individual charts for Elixir, TypeScript, Dart, Haskell, C
- Comparison chart for fast languages
- Shows how memory usage varies during program execution
- Based on actual timeline data from benchmark runs
2026-04-23 01:03:40 +02:00
Ein Anderssono 5bcfbc0b52 Add Mermaid performance diagrams with actual test data
- Added XY charts for compiled, JIT, and interpreted languages
- Charts show execution time and memory usage from real tests
- Data collected from actual benchmark runs on Apple A18 Pro
- All measurements from 100 decimal test runs
- Memory profiling shows 0-5MB usage across languages
- CPU profiling shows 0% (processes too fast to sample)
2026-04-23 00:56:53 +02:00
Ein Anderssono 379ee1da35 Add binary sizes and memory profiling
- Added binary size section to README with actual file sizes
- Updated run_all.sh to profile memory usage during execution
- Memory profiling shows average and peak memory consumption
- All data from actual measurements on Apple A18 Pro
- Binary sizes range from 103B (wrapper scripts) to 13M (Haskell)
2026-04-23 00:47:33 +02:00
Ein Anderssono 3912ac9e6e Update README with scientific analysis and actual test results
- Added system specifications (Apple A18 Pro, 8 GB RAM)
- Included actual benchmark results for 100, 1000, and 10000 decimals
- Scientific analysis of performance differences
- Detailed technical explanations for each language
- All data from real test runs on actual hardware
- Removed hypothetical examples, using only measured data
2026-04-23 00:38:21 +02:00
Ein Anderssono 54d2fecee0 Initial commit: Pi calculation benchmark with 34 languages
- Added implementations for: bash, brainfuck, c, cpp, crystal, csharp, d, dart, elixir, erlang, fortran, go, haskell, java, javascript, julia, kotlin, objective-c, scala, typescript, lua, nim, odin, perl, php, python, r, ruby, rust, swift, zig, assembly, vimscript, wolfram
- All implementations use Machin's formula: π/4 = 4*arctan(1/5) - arctan(1/239)
- Build system with ./build.sh, test system with ./test.sh
- Performance testing with ./run_all.sh
- Comprehensive README.md explaining performance differences
- Test framework verifies correctness against known π values
2026-04-23 00:26:18 +02:00