public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jvdelisle at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libfortran/33985] access="stream",form="unformatted" doesn't buffer
Date: Sun, 02 Dec 2007 18:55:00 -0000	[thread overview]
Message-ID: <20071202185541.31798.qmail@sourceware.org> (raw)
In-Reply-To: <bug-33985-10391@http.gcc.gnu.org/bugzilla/>



------- Comment #26 from jvdelisle at gcc dot gnu dot org  2007-12-02 18:55 -------
With this test case:

program main
  implicit none
  integer :: i, j
  open(95,form="unformatted",access="stream")
  do j=1, 125000
  do i=0,255
    write(95) int(i,kind=1)
  end do
  end do
end program main

gfortran 4.3 with patch

$ gfc pr33985.f90 
$ time ./a.out

real    0m5.823s
user    0m5.781s
sys     0m0.029s

gfortran 4.2 no patch

$ gfc42 -static pr33985.f90 
$ time ./a.out

real    1m8.781s
user    0m10.334s
sys     0m58.446s

Thats an 11.8 X improvement.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33985


  parent reply	other threads:[~2007-12-02 18:55 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-02 22:18 [Bug libfortran/33985] New: " tkoenig at gcc dot gnu dot org
2007-11-02 22:43 ` [Bug libfortran/33985] " fxcoudert at gcc dot gnu dot org
2007-11-03  0:42 ` jvdelisle at gcc dot gnu dot org
2007-11-03  1:18 ` jvdelisle at gcc dot gnu dot org
2007-11-03 14:57 ` jvdelisle at gcc dot gnu dot org
2007-11-03 15:06 ` jvdelisle at gcc dot gnu dot org
2007-11-06  2:41 ` jvdelisle at gcc dot gnu dot org
2007-11-06 16:17 ` dominiq at lps dot ens dot fr
2007-11-06 23:39 ` jvdelisle at gcc dot gnu dot org
2007-11-07  2:44 ` jvdelisle at gcc dot gnu dot org
2007-11-14  1:22 ` jvdelisle at gcc dot gnu dot org
2007-11-30 22:28 ` tkoenig at gcc dot gnu dot org
2007-11-30 22:45 ` jvdelisle at gcc dot gnu dot org
2007-11-30 22:57 ` tkoenig at gcc dot gnu dot org
2007-11-30 23:55 ` jvdelisle at gcc dot gnu dot org
2007-12-01  4:22 ` jvdelisle at gcc dot gnu dot org
2007-12-01  4:28 ` howarth at nitro dot med dot uc dot edu
2007-12-01  4:34 ` jvdelisle at gcc dot gnu dot org
2007-12-01  7:34 ` kargl at gcc dot gnu dot org
2007-12-01 21:30 ` tkoenig at gcc dot gnu dot org
2007-12-01 21:50 ` howarth at nitro dot med dot uc dot edu
2007-12-01 21:53 ` tkoenig at gcc dot gnu dot org
2007-12-01 22:07 ` jvdelisle at gcc dot gnu dot org
2007-12-01 22:08 ` kargl at gcc dot gnu dot org
2007-12-01 22:19 ` tkoenig at gcc dot gnu dot org
2007-12-02  2:05   ` Jerry DeLisle
2007-12-02  2:05 ` jvdelisle at verizon dot net
2007-12-02 18:45 ` jvdelisle at gcc dot gnu dot org
2007-12-02 18:55 ` jvdelisle at gcc dot gnu dot org [this message]
2007-12-02 18:57 ` jvdelisle at gcc dot gnu dot org
2007-12-02 18:57 ` jvdelisle at gcc dot gnu dot org
2007-12-02 19:05 ` jvdelisle at gcc dot gnu dot org
2007-12-02 20:11 ` tkoenig at gcc dot gnu dot org
2007-12-02 20:58 ` jvdelisle at verizon dot net
2007-12-02 21:20 ` tkoenig at gcc dot gnu dot org
2007-12-02 23:17 ` jvdelisle at gcc dot gnu dot org
2007-12-02 23:32 ` jvdelisle at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071202185541.31798.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).