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

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

Fortran VS D 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.)

fasta

Input: 2500000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
fortran 4.f90 177ms 14ms 1.5MB 167ms 0ms gfortran 13.3.0
d 1.d 254ms 5.5ms 1.7MB 240ms 0ms ldc2 1.43.0

Input: 250000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
fortran 4.f90 23ms 3.7ms 2.7MB 13ms 0ms gfortran 13.3.0
d 1.d 30ms 3.8ms 1.7MB 23ms 0ms ldc2 1.43.0

helloworld

Input: QwQ

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
fortran 1.f90 1.7ms 0.3ms 1.6MB 0ms 0ms gfortran 13.3.0
d 1.d 2.4ms 0.4ms 3.2MB 0ms 0ms ldc2 1.43.0

nbody

Input: 5000000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
d 1.d 592ms 1.6ms 1.6MB 577ms 0ms ldc2 1.43.0
d 2.d 594ms 2.9ms 1.7MB 583ms 0ms ldc2 1.43.0
fortran 2.f90 610ms 47ms 1.5MB 600ms 0ms gfortran 13.3.0

Input: 500000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
d 1.d 64ms 0.8ms 1.7MB 50ms 0ms ldc2 1.43.0
fortran 2.f90 65ms 1.1ms 1.6MB 57ms 0ms gfortran 13.3.0
d 2.d 75ms 2.5ms 1.8MB 63ms 0ms ldc2 1.43.0

spectral-norm

Input: 8000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
fortran 3-m.f90 6051ms 7.3ms 1.5MB 23903ms 3ms gfortran 13.3.0
d 1.d 11045ms 7.1ms 3.9MB 11033ms 0ms ldc2 1.43.0
fortran 2.f90 11153ms 19ms 2.5MB 11143ms 0ms gfortran 13.3.0

Input: 4000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
fortran 3-m.f90 1522ms 3.5ms 1.5MB 5970ms 3ms gfortran 13.3.0
d 1.d 2767ms 0.6ms 3.6MB 2760ms 0ms ldc2 1.43.0
fortran 2.f90 2795ms 3.4ms 1.6MB 2783ms 0ms gfortran 13.3.0

Input: 2000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
fortran 3-m.f90 391ms 2.4ms 1.6MB 1477ms 0ms gfortran 13.3.0
d 1.d 701ms 11ms 3.2MB 693ms 0ms ldc2 1.43.0
fortran 2.f90 703ms 3.3ms 1.5MB 687ms 0ms gfortran 13.3.0