Files
print_hej/reports/100_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

2.1 KiB

Performance Report: 100 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 C++ 19 1523712 Compiled
2 C 19 1687552 Compiled
3 Odin 19 1725781 Compiled
4 Fortran 19 1802240 Compiled
5 Assembly 20 1409024 Compiled
6 Nim 20 1572864 Compiled
7 Rust 20 1682090 Compiled
8 Lua 20 2086229 Interpreted
9 Crystal 20 3293184 Compiled
10 Go 20 3861162 Compiled
11 Objective-C 20 6045696 Compiled
12 Swift 20 6083925 Compiled
13 D 21 2490368 Compiled
14 Zig 22 2981888 Compiled
15 Bash 24 2058922 Interpreted
16 Dart 28 14625450 JIT
17 Haskell 31 12042240 Compiled
18 Brainfuck 45 9289728 Interpreted
19 Java 46 43078997 JIT
20 Python 47 9693866 Interpreted
21 Perl 47 12528298 Interpreted
22 CSharp 56 41369600 JIT
23 Kotlin 60 45247146 JIT
24 PHP 68 26487466 Interpreted
25 Ruby 79 28824917 Interpreted
26 JavaScript 89 44848469 Interpreted
27 Erlang 140 77381632 Interpreted
28 Julia 157 235885909 JIT
29 R 163 90947584 Interpreted
30 Elixir 308 89642325 Interpreted
31 Scala 344 55470762 JIT
32 TypeScript 931 218868394 Interpreted

Detailed Results

See the full test output in reports/run_100_output.txt.


Generated from Pi Calculation Benchmark - Apple A18 Pro Performance Study