[Bug libfortran/78549] [8 Regression] Very slow formatted internal file output

jvdelisle at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Nov 19 01:02:00 GMT 2017


--- Comment #24 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
After a minor test tweak.

$ gfc -static pr78549.f 
$ time ./a.out 

real    0m24.049s
user    0m22.941s
sys     0m0.962s

$ gfc6 -static pr78549.f 
$ time ./a.out 

real    0m22.838s
user    0m22.718s
sys     0m0.005s

Without the tweak on trunk:

$ gfc -static pr78549.f 
$ time ./a.out 

real    0m28.916s
user    0m27.697s
sys     0m1.024s

With the minor tweak we are still a bit slower than 6, but then we added a few
features since then also, so not too bad.  My initial tweak is going to require
a little logic to be added.

Next report will be after I have that sorted out.

More information about the Gcc-bugs mailing list