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 Crystal 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
crystal 1.cr 2.8ms 0.5ms 2.5MB 0ms 0ms crystal 1.11.2
codon 1.py 9.9ms 0.8ms 10.9MB 7ms 3ms codon 0.20.2

nbody

Input: 5000000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
crystal 2.cr 632ms 1.1ms 3.0MB 620ms 0ms crystal 1.11.2
crystal 1.cr 636ms 6.6ms 3.0MB 623ms 0ms crystal 1.11.2
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
crystal 2.cr 68ms 0.7ms 3.0MB 57ms 0ms crystal 1.11.2
crystal 1.cr 68ms 2.8ms 3.0MB 60ms 0ms crystal 1.11.2
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
crystal 2.cr 597ms 9.0ms 11.8MB 580ms 0ms crystal 1.11.2
crystal 1.cr 1077ms 11ms 42.4MB 1060ms 0ms crystal 1.11.2
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
crystal 2.cr 116ms 1.9ms 5.3MB 100ms 0ms crystal 1.11.2
crystal 1.cr 210ms 7.1ms 21.0MB 197ms 0ms crystal 1.11.2
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