All Fortran benchmarks

Current benchmark data was generated on Tue Jan 18 2022, full log can be found HERE

CONTRIBUTIONS are WELCOME!

[x86_64][2 cores] Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz

fasta

Input: 2500000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
4.f90 401ms 77ms 1.1MB 197ms 50ms gfortran 10.3.0-1ubuntu1
4.f90 464ms 50ms 5.5MB 243ms 40ms flang 7.0.1

Input: 250000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
4.f90 38ms 6.6ms 1.1MB 10ms 0ms gfortran 10.3.0-1ubuntu1
4.f90 50ms 12ms 5.6MB 17ms 7ms flang 7.0.1

helloworld

Input: QwQ

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.f90 2.2ms 0.8ms 2.8MB 0ms 0ms gfortran 10.3.0-1ubuntu1
1.f90 3.2ms 0.6ms 4.3MB 0ms 0ms flang 7.0.1

nbody

Input: 5000000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
2.f90 364ms 1.0ms 1.0MB 357ms 0ms gfortran 10.3.0-1ubuntu1
2.f90 366ms 0.3ms 5.4MB 360ms 0ms flang 7.0.1

Input: 500000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
2.f90 38ms 0.7ms 1.1MB 30ms 0ms gfortran 10.3.0-1ubuntu1
2.f90 40ms 0.8ms 5.4MB 30ms 0ms flang 7.0.1

Input: 100000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
2.f90 9.5ms 0.5ms 1.1MB 0ms 0ms gfortran 10.3.0-1ubuntu1
2.f90 11ms 0.8ms 5.4MB 0ms 0ms flang 7.0.1

spectral-norm

Input: 8000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
3.f90 1066ms 9.5ms 5.8MB 2087ms 3ms flang 7.0.1
2.f90 2065ms 0.6ms 5.8MB 2053ms 0ms flang 7.0.1
3.f90 2450ms 11ms 3.0MB 4817ms 0ms gfortran 10.3.0-1ubuntu1
2.f90 4121ms 1.0ms 2.6MB 4110ms 0ms gfortran 10.3.0-1ubuntu1

Input: 4000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
3.f90 271ms 0.1ms 5.1MB 513ms 0ms flang 7.0.1
2.f90 519ms 0.4ms 5.6MB 510ms 0ms flang 7.0.1
3.f90 614ms 1.7ms 1.2MB 1200ms 0ms gfortran 10.3.0-1ubuntu1
2.f90 1031ms 0.4ms 1.1MB 1020ms 0ms gfortran 10.3.0-1ubuntu1

Input: 1000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
3.f90 20ms 0.3ms 5.1MB 30ms 0ms flang 7.0.1
2.f90 36ms 0.9ms 5.5MB 30ms 0ms flang 7.0.1
3.f90 42ms 0.5ms 1.2MB 70ms 0ms gfortran 10.3.0-1ubuntu1
2.f90 66ms 0.6ms 1.1MB 60ms 0ms gfortran 10.3.0-1ubuntu1