This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [PATCH, fortran-dev] Fix regexps
- From: dominiq at lps dot ens dot fr (Dominique Dhumieres)
- To: paul dot richard dot thomas at gmail dot com
- Cc: fortran at gcc dot gnu dot org, burnus at net-b dot de
- Date: Thu, 05 Jun 2014 12:25:37 +0200
- Subject: Re: [PATCH, fortran-dev] Fix regexps
- Authentication-results: sourceware.org; auth=none
Dear Paul,
> I will commit tomorrow night unless I receive advice to the contrary.
No objection from my side. The sooner, the better!
> At this point, it will be time to do some performance comparisons.
I have compared the results for fortran-dev and trunk. The main results are
(1) The compilation time is reduced by ~30%;
(2) The executable are larger, up to ~20%;
(3) linpk and test_fpu2 run ~10% slower and tfft2 ~20% slower.
Thanks for the work,
Dominique
results for fortran-dev
================================================================================
Date & Time : 3 Jun 2014 22:39:51
Test Name : pbharness
Compile Command : gfcd %n.f90 -fprotect-parens -Ofast -funroll-loops -ftree-loop-linear -fomit-frame-pointer -fwhole-program -flto -o %n
Benchmarks : ac aermod air capacita channel2 doduc fatigue2 gas_dyn2 induct2 linpk mp_prop_design mdbx nf protein rnflow test_fpu2 tfft2
Maximum Times : 300.0
Target Error % : 0.200
Minimum Repeats : 2
Maximum Repeats : 5
Benchmark Compile Executable Ave Run Number Estim
Name (secs) (bytes) (secs) Repeats Err %
--------- ------- ---------- ------- ------- ------
ac 1.19 42576 5.58 2 0.1165
aermod 50.39 1337144 8.98 5 0.3120
air 7.09 102280 3.30 5 0.2665
capacita 2.89 85368 17.46 3 0.1856
channel2 0.90 34616 78.65 2 0.1214
doduc 6.32 159864 12.26 2 0.1101
fatigue2 2.22 69152 28.09 3 0.1319
gas_dyn2 3.51 90920 74.42 2 0.1317
induct2 7.68 144704 42.61 2 0.0129
linpk 1.08 21912 4.61 5 0.3922
mp_prop_desi 0.99 35176 73.33 2 0.1296
mdbx 2.47 68824 6.93 2 0.1011
nf 2.14 59464 6.79 2 0.0958
protein 4.69 114968 18.33 2 0.1937
rnflow 6.13 118480 12.32 2 0.0406
test_fpu2 4.31 76576 46.78 5 0.2006
tfft2 1.01 26264 37.15 2 0.0390
Geometric Mean Execution Time = 17.64 seconds
================================================================================
Polyhedron Benchmark Validator
Copyright (C) Polyhedron Software Ltd - 2004 - All rights reserved
results for trunk
================================================================================
Date & Time : 3 Jun 2014 23:48:09
Test Name : pbharness
Compile Command : gfc %n.f90 -fprotect-parens -Ofast -funroll-loops -ftree-loop-linear -fomit-frame-pointer -fwhole-program -flto -o %n
Benchmarks : ac aermod air capacita channel2 doduc fatigue2 gas_dyn2 induct2 linpk mp_prop_design mdbx nf protein rnflow test_fpu2 tfft2
Maximum Times : 300.0
Target Error % : 0.200
Minimum Repeats : 2
Maximum Repeats : 5
Benchmark Compile Executable Ave Run Number Estim
Name (secs) (bytes) (secs) Repeats Err %
--------- ------- ---------- ------- ------- ------
ac 1.90 38472 5.65 2 0.0708
aermod 65.60 1118528 8.76 2 0.1256
air 10.95 102248 3.22 2 0.1088
capacita 3.64 69024 17.10 3 0.1906
channel2 1.42 34608 79.06 4 0.2404
doduc 10.09 159856 12.28 2 0.1018
fatigue2 3.88 69144 28.52 2 0.0245
gas_dyn2 5.64 94776 73.46 3 0.1491
induct2 12.33 144696 42.51 2 0.0294
linpk 1.43 21904 4.24 2 0.0825
mp_prop_desi 1.53 35168 73.14 2 0.0526
mdbx 3.63 68760 7.13 3 0.1944
nf 3.09 55408 6.68 4 0.1953
protein 8.77 110864 17.76 2 0.0141
rnflow 9.19 110280 12.27 2 0.0285
test_fpu2 6.24 76568 42.55 5 0.2006
tfft2 1.46 26256 31.78 5 0.3012
Geometric Mean Execution Time = 17.22 seconds
================================================================================
Polyhedron Benchmark Validator
Copyright (C) Polyhedron Software Ltd - 2004 - All rights reserved