Results for 38 of 40 languages from this run on actest1.

Unavailable in this run: Hack, Lisp. Follow the run link for failure details.

Codon VS C# benchmarks

Current benchmark data was generated on Sun Sep 27 2026, full log can be found HERE

CONTRIBUTIONS are WELCOME!

[x86_64][4 cores] Intel(R) Core(TM) i7-3687U CPU @ 2.10GHz (Model 58)

* -m in a file name stands for multi-threading or multi-processing

* -i in a file name stands for direct intrinsics usage. (Usage of simd intrinsics via libraries is not counted)

* -ffi in a file name stands for non-stdlib FFI usage

* (You may find time < time(user) + time(sys) for some non-parallelized programs, the overhead is from GC or JIT compiler, which are allowed to take advantage of multi-cores as that's more close to real-world scenarios.)

helloworld

Input: QwQ

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
codon 1.py 9.9ms 0.8ms 10.9MB 7ms 3ms codon 0.20.2
csharp 1.cs 46ms 3.5ms 24.6MB 30ms 2ms dotnet 9.0.318

nbody

Input: 5000000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
csharp 8.cs 783ms 1.5ms 29.6MB 760ms 10ms dotnet 9.0.318
csharp 9.cs 997ms 4.7ms 29.6MB 967ms 17ms dotnet 9.0.318
codon 1.py 2621ms 35ms 11.0MB 2900ms 0ms codon 0.20.2

Input: 500000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
csharp 8.cs 159ms 7.2ms 30.1MB 140ms 3ms dotnet 9.0.318
csharp 9.cs 228ms 3.1ms 29.9MB 203ms 10ms dotnet 9.0.318
codon 1-m.py 357ms 59ms 11.0MB 610ms 0ms codon 0.20.2

nsieve

Input: 12

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
csharp 2.cs 819ms 3.8ms 33.5MB 797ms 13ms dotnet 9.0.318
csharp 1.cs 1042ms 3.6ms 96.6MB 1020ms 13ms dotnet 9.0.318
codon 2.py 1317ms 10ms 110.4MB 1597ms 10ms codon 0.20.2
codon 1.py 1510ms 4.1ms 49.9MB 1783ms 10ms codon 0.20.2

Input: 10

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
csharp 2.cs 205ms 0.9ms 32.5MB 183ms 7ms dotnet 9.0.318
csharp 1.cs 235ms 2.8ms 37.6MB 213ms 10ms dotnet 9.0.318
codon 2-m.py 292ms 4.4ms 29.3MB 570ms 3ms codon 0.20.2
codon 1-m.py 358ms 6.6ms 20.7MB 643ms 0ms codon 0.20.2