This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: I/O performance


Dear Manfred,


>      character value*10000000

Using Cygwin, which tends to be a bit slower, I found a time of
9.6seconds, without optimisation.
Dividing the length of value by 10, this went down to 1.1seconds and
then to 0.2seconds on a further division by 10.


> Almost 5 seconds to read 20 Integer values,
> on a Core2 CPU! I was really shocked.

Don't be shocked, the problem is not the 20 integer values but the
size of the buffer 'value'.  It looks as if the buffer is either being
zeroed or, more likely, a temporary is being used for the read.

Please file under Bugzilla as missed optimisation.

Thanks

Paul


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]