This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Performance and executable size


thanny@home.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@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]