Fortran
Fortran compiled ahead-of-time by gfortran (GCC): the original array-oriented numerical language, with column-major arrays, no garbage collector and OpenMP for threads. Its standard library has no hash map, sort or JSON parser, so those programs carry small hand-written versions.
fortran-lang.org ↗- Overall speed rank
- -
- no data yet
- Latest release
- 16
- 6 tracked releases since 2021
- Strongest on
- -
- Weakest on
- -
Performance by problem
Newest release (16), default build (gfortran -O3 -fopenmp). The index is how many times slower this language is than the fastest entry on that problem (1.00× = fastest); rank is among all languages.
The first scheduled GitHub Actions run will publish real measurements here. Everything on this page is computed from raw iterations in data/.
Build settings
gfortran -O3 -fopenmp default
Optimised build with OpenMP (needed for the parallel workload).
mkdir -p {bin}.mod && cp {harness}/lb_hash.f90 {harness}/harness.f90 {bin}.mod/ && cp {src}/main.f90 {bin}.mod/problem.f90 && cd {bin}.mod && gfortran -O3 -fopenmp -o {bin} lb_hash.f90 problem.f90 harness.f90{bin}gfortran -O3 -march=native -fopenmp
Optimised for the benchmark CPU.
mkdir -p {bin}.mod && cp {harness}/lb_hash.f90 {harness}/harness.f90 {bin}.mod/ && cp {src}/main.f90 {bin}.mod/problem.f90 && cd {bin}.mod && gfortran -O3 -march=native -fopenmp -o {bin} lb_hash.f90 problem.f90 harness.f90{bin}Every release (default build)
The first scheduled GitHub Actions run will publish real measurements here. Everything on this page is computed from raw iterations in data/.
Speed across releases
Did Fortran get faster? Every tracked release plotted at its release date, one line per build setting. Shows time, memory or binary size over all problems by default.
The first scheduled GitHub Actions run will publish real measurements here. Everything on this page is computed from raw iterations in data/.
Release highlights
- Fortran 16 2026-04-30
- Fortran 15 2025-04-25
- Fortran 14 2024-05-07
- Fortran 13 2023-04-26
- Fortran 12 2022-05-06
- Fortran 11 2021-04-27
Badge
Show this language's overall rank in your README or website:
[](https://stijnris.github.io/language-bench/languages/fortran/)<a href="https://stijnris.github.io/language-bench/languages/fortran/"><img src="https://stijnris.github.io/language-bench/badges/fortran.svg" alt="Fortran on language-bench"></a>