Files
print_hej/reports/5_decimals.md
T
Ein Anderssono 443172606b Remove language-specific content from reports
- Updated update_reports.sh to remove Performance Analysis section
- Regenerated all reports (1, 2, 5, 10, 100, 1000, 2000 decimals)
- All reports now have identical structure for 100% comparability
- No language-specific observations or commentary
- Only raw data tables remain
2026-04-23 13:44:58 +02:00

63 lines
2.1 KiB
Markdown

# Performance Report: 5 Decimals
## 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 | Nim | 19 | 1523712 | Compiled |
| 2 | Assembly | 20 | 1409024 | Compiled |
| 3 | C++ | 20 | 1490944 | Compiled |
| 4 | Odin | 20 | 1611093 | Compiled |
| 5 | Rust | 20 | 1622016 | Compiled |
| 6 | Fortran | 20 | 1802240 | Compiled |
| 7 | Lua | 20 | 2086229 | Interpreted |
| 8 | Go | 20 | 3877546 | Compiled |
| 9 | Objective-C | 20 | 6029312 | Compiled |
| 10 | C | 21 | 1671168 | Compiled |
| 11 | Zig | 21 | 2981888 | Compiled |
| 12 | Swift | 21 | 5947392 | Compiled |
| 13 | D | 22 | 2457600 | Compiled |
| 14 | Crystal | 24 | 3244032 | Compiled |
| 15 | Bash | 27 | 2048000 | Interpreted |
| 16 | Dart | 27 | 14467072 | JIT |
| 17 | Haskell | 31 | 11894784 | Compiled |
| 18 | Perl | 43 | 12517376 | Interpreted |
| 19 | Brainfuck | 44 | 9125888 | Interpreted |
| 20 | Java | 46 | 42980693 | JIT |
| 21 | CSharp | 51 | 41385984 | JIT |
| 22 | Python | 53 | 9830400 | Interpreted |
| 23 | Kotlin | 59 | 45143381 | JIT |
| 24 | PHP | 67 | 26471082 | Interpreted |
| 25 | JavaScript | 78 | 38338560 | Interpreted |
| 26 | Ruby | 79 | 28813994 | Interpreted |
| 27 | Erlang | 131 | 77529088 | Interpreted |
| 28 | Julia | 160 | 235864064 | JIT |
| 29 | R | 170 | 90778282 | Interpreted |
| 30 | Elixir | 303 | 89134421 | Interpreted |
| 31 | Scala | 386 | 55995050 | JIT |
| 32 | TypeScript | 886 | 217841664 | Interpreted |
## Detailed Results
See the full test output in `reports/run_5_output.txt`.
---
*Generated from Pi Calculation Benchmark - Apple A18 Pro Performance Study*