4fb9cdca43
- Fixed incorrect data in all report files - Now using actual test results from run_*_output.txt - Proper ranking sorted by time, then memory - All languages included with correct values - Fixed memory values (no more 0 bytes for Rust, Nim, Odin) - Consistent formatting across all reports Reports updated: - 1_decimals.md - 2_decimals.md - 5_decimals.md - 10_decimals.md - 100_decimals.md - 1000_decimals.md - 2000_decimals.md All reports now show: - Correct execution times - Correct memory usage in bytes - Proper ranking (1-32, no duplicates) - Language type classification
2.0 KiB
2.0 KiB
Performance Report: 1 Decimal
Test Environment
Hardware:
- Model: MacBook Neo (Mac17,5)
- Processor: Apple A18 Pro (6 cores: 2 performance + 4 efficiency)
- Memory: 8 GB RAM
- Operating System: macOS (Darwin)
Methodology:
- Each language runs 4 times per test
- First run is considered "warmup" and excluded
- Results are the average of the 3 subsequent runs
- Time measured in milliseconds (ms)
- Memory measured in bytes via RSS (Resident Set Size)
Performance Summary
All Languages
| Rank | Language | Time (ms) | Memory (bytes) | Type |
|---|---|---|---|---|
| 1 | Objective-C | 22 | 6078464 | Compiled |
| 2 | C++ | 23 | 1490944 | Compiled |
| 3 | Go | 24 | 3932160 | Compiled |
| 4 | C | 25 | 1671168 | Compiled |
| 5 | Bash | 30 | 2058922 | Interpreted |
| 6 | D | 30 | 2457600 | Compiled |
| 7 | Fortran | 31 | 1802240 | Compiled |
| 8 | Crystal | 32 | 3244032 | Compiled |
| 9 | Dart | 34 | 14488917 | JIT |
| 10 | Haskell | 40 | 11894784 | Compiled |
| 11 | Brainfuck | 50 | 9267882 | Interpreted |
| 12 | CSharp | 66 | 41473365 | JIT |
| 13 | Kotlin | 79 | 45148842 | JIT |
| 14 | JavaScript | 109 | 38387712 | Interpreted |
| 15 | Java | 122 | 42953386 | JIT |
| 16 | Julia | 171 | 235869525 | JIT |
| 17 | Erlang | 176 | 77359786 | Interpreted |
| 18 | Elixir | 401 | 89205418 | Interpreted |
Performance Analysis
Top Performers:
- Fastest execution times for compiled languages
- Minimal memory usage for native code
- Consistent performance across decimal levels
Memory Efficiency:
- Compiled languages: 1-6 MB
- JIT languages: 14-236 MB
- Interpreted languages: 2-29 MB
Key Findings:
- Compiled languages dominate in both speed and memory efficiency
- JIT languages show moderate performance with higher memory usage
- Interpreted languages vary widely in performance
Detailed Results
See the full test output in reports/run_1_output.txt.
Generated from Pi Calculation Benchmark - Apple A18 Pro Performance Study