cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/19/17:53:16

Message-ID: <3561B91D.702A@epfl.ch>
Date: Tue, 19 May 1998 18:53:49 +0200
From: Lionel Portmann <Lionel DOT Portmann AT epfl DOT ch>
Reply-To: Lionel DOT Portmann AT epfl DOT ch
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: DJGPP vs. mingwin32 I/O performances
NNTP-Posting-Host: legpc56.epfl.ch
Organization: EPFL
Lines: 19
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

It is likely that this kind of question was already posted, but I
couln'd find anything in the existing news.

I wish to use gcc on a PC in order to do some I/O intensive work
(parsing big ASCII files). The program will only produce displays in a
console.

I tried both ports of gcc v2.8.1 for PC, DJGPP and MINGWIN32.
I compiled the very same source code with both environnement,
and found that the mingwin32 executable was a least 1.5 times slower 
than djgpp one. I read in a FAQ that djgpp has to switch between
protected mode and real mode every time it has to do I/O access,
so I expected mingwin32 to be faster than djgpp. 

I have to add that at compilation time, mingwin32 gave me more warnings
than djgpp, which might indicate that the settings are not equivalent.
On the other hand, -O3 switch was ON in both versions. 

Any hint?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019