From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21351 invoked by alias); 22 Apr 2007 21:09:38 -0000 Received: (qmail 21320 invoked by uid 48); 22 Apr 2007 21:09:29 -0000 Date: Sun, 22 Apr 2007 21:09:00 -0000 Message-ID: <20070422210929.21319.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libfortran/31501] libgfortran internal unit I/O performance issues In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jvdelisle at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-04/txt/msg01640.txt.bz2 ------- Comment #7 from jvdelisle at gcc dot gnu dot org 2007-04-22 22:09 ------- Created an attachment (id=13427) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13427&action=view) Refinement on the previous, using macros With this patch I replaced is_array_io, is_internal_unit, and is_stream_io with macros. Now on my system I get this down to 7 seconds. $ time ./a.out real 0m6.954s user 0m6.951s sys 0m0.001s -- jvdelisle at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #13426|0 |1 is obsolete| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31501