This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/31501] libgfortran internal unit I/O performance issues
- From: "jvdelisle at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Apr 2007 20:18:46 -0000
- Subject: [Bug libfortran/31501] libgfortran internal unit I/O performance issues
- References: <bug-31501-10743@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from jvdelisle at gcc dot gnu dot org 2007-04-22 21:18 -------
Created an attachment (id=13426)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13426&action=view)
Modified patch for further improvement
This modified patch, gets the time for the test case on my system from about 12
seconds down to about 7.6.
before$ time ./a.out
real 0m11.162s
user 0m10.845s
sys 0m0.306s
after$ time ./a.out
real 0m7.680s
user 0m7.666s
sys 0m0.002s
We probably want to make is_array_io a macro so we can retain code readability.
The big culprit here is now push_char in list_read.c
--
jvdelisle at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #13425|0 |1
is obsolete| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31501