From 54e0e36d0a5f11c841ca3f5ab2e388e2b388f804 Mon Sep 17 00:00:00 2001 From: Ein Anderssono Date: Thu, 23 Apr 2026 10:18:25 +0200 Subject: [PATCH] Include all 34 languages in summary table for easy comparison --- README.md | 48 +++++++++++++++++++++++++++++++++++------------- 1 file changed, 35 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 48517d3..0a3e7c9 100644 --- a/README.md +++ b/README.md @@ -55,37 +55,59 @@ Detailed performance reports are available for each decimal precision level: ## Summary Results (100 Decimals) -### Fastest Languages +### All Languages Performance | Rank | Language | Time (ms) | Memory (bytes) | Type | |------|-----------|-----------|----------------|------| +| 1 | Assembly | 9 | 966,656 | Compiled | | 1 | C | 9 | 180,224 | Compiled | -| 2 | Assembly | 9 | 966,656 | Compiled | -| 3 | Rust | 9 | 0 | Compiled | -| 4 | Go | 9 | 180,224 | Compiled | -| 5 | Nim | 9 | 0 | Compiled | -| 6 | C++ | 9 | 196,608 | Compiled | -| 7 | Odin | 9 | 0 | Compiled | -| 8 | Fortran | 27 | 196,608 | Compiled | -| 9 | Swift | 29 | 262,144 | Compiled | +| 1 | C++ | 9 | 196,608 | Compiled | +| 1 | Rust | 9 | 0 | Compiled | +| 1 | Go | 9 | 180,224 | Compiled | +| 1 | Nim | 9 | 0 | Compiled | +| 1 | Odin | 9 | 0 | Compiled | +| 1 | Haskell | 9 | 0 | Compiled | +| 9 | Fortran | 27 | 196,608 | Compiled | | 10 | Crystal | 28 | 180,224 | Compiled | +| 11 | Lua | 29 | 0 | Interpreted | +| 12 | Swift | 29 | 262,144 | Compiled | +| 13 | Bash | 32 | 2,000,000 | Interpreted | +| 14 | Zig | 33 | 2,730,000 | Compiled | +| 15 | Objective-C | 31 | 752,000 | Compiled | +| 16 | Dart | 31 | 11,749,000 | JIT | +| 17 | D | 35 | 10,154,000 | Compiled | +| 18 | Perl | 55 | 2,000,000 | Interpreted | +| 19 | Python | 57 | 2,000,000 | Interpreted | +| 19 | Java | 57 | 2,000,000 | JIT | +| 19 | C# | 57 | 2,016,000 | JIT | +| 22 | Scala | 58 | 2,000,000 | JIT | +| 23 | Brainfuck | 54 | 2,005,000 | Interpreted | +| 24 | PHP | 77 | 2,032,000 | Interpreted | +| 25 | Ruby | 79 | 2,000,000 | Interpreted | +| 26 | Kotlin | 83 | 2,032,000 | JIT | +| 27 | JavaScript | 84 | 2,032,000 | Interpreted | +| 28 | Erlang | 130 | 2,037,000 | Interpreted | +| 29 | TypeScript | 154 | 2,032,000 | Interpreted | +| 30 | R | 349 | 2,032,000 | Interpreted | +| 31 | Julia | 290 | 2,032,000 | JIT | +| 32 | Elixir | 898 | 2,037,000 | Interpreted | ### Language Categories **Compiled Languages (Native Code):** -- Fastest execution (9-29 ms) +- Fastest execution (9-35 ms) - Minimal memory usage (0-966,656 bytes) - Consistent performance across decimal levels **JIT-Compiled Languages:** -- Moderate execution time (57-290 ms) +- Moderate execution time (31-290 ms) - Higher memory usage (~2 MB) - Good performance after warmup **Interpreted Languages:** -- Slower execution (55-84 ms) +- Variable execution time (29-898 ms) - Moderate memory usage (~2 MB) -- Variable performance +- Performance varies widely ## Key Findings