Commit Graph

10 Commits

Author SHA1 Message Date
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