www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/12/05/06:26:29

From: anorland AT hem2 DOT passagen DOT se (Anders Norlander)
Subject: Re: Performance and executable size
5 Dec 1998 06:26:29 -0800 :
Message-ID: <36693E37.59B625E4.cygnus.gnu-win32@hem2.passagen.se>
References: <19981205044618 DOT AAA15310 AT thanny>
Mime-Version: 1.0
To: thanny AT home DOT com
Cc: gnu-win32 AT cygnus DOT com

thanny AT home DOT com wrote:
> 
> OK, I downloaded the EGCS 1.1 files, and managed to compile my program.
> 
> It works, but it's 625K, and horrifically slow.
> 
> Is there anything I can do to remedy this?
Compile with optimization :) Use the strip command or
link with the -s option.
 
> For reference, the DOS executable is about 20K, while the DPMI and OS/2
> executables are about 80K.  The DOS one, compiled with BC++ 3.0, is
> actually faster than the Win32 version.  The DPMI and OS/2 versions (DGJPP
> and VAC++, respectively) are both about ten times faster than the DOS
> version, so 10-15 times faster than the Win32 version.
If your program does a lot of I/O this is expected, especially
under win95.

Anders Norlander
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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