GNU bug report logs - #18752
24.3.94; Why is Cygwin Emacs 2x quicker than Windows Emacs?

Previous Next

Package: emacs;

Reported by: Fabrice Niessen <fni-news <at> pirilampo.org>

Date: Fri, 17 Oct 2014 15:07:02 UTC

Severity: wishlist

Tags: notabug

Found in version 24.3.94

Done: Noam Postavsky <npostavs <at> users.sourceforge.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Dani Moncayo <dmoncayo <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 18752 <at> debbugs.gnu.org
Subject: bug#18752: 24.3.94; Why is Cygwin Emacs 2x quicker than Windows Emacs?
Date: Sat, 18 Oct 2014 18:25:17 +0200
>> I'd like to understand what are the
>> advantages and drawbacks of optimized vs unoptimized builds.  Could
>> someone explain that to me, or tell me where could I read that
>> information?
>
> Unoptimized builds make debugging easier, but are about 2 - 2.5 times
> slower than optimized ones.  For that reason, the usual practice is to
> produce unoptimized builds for snapshots and pretests, but optimized
> ones for official releases.
>
> Latest GCC versions support a -Og optimization switch that gives you
> the best of both worlds.
>
>> Also, what should I do to produce an optimized build?  "nt/INSTALL"
>> shows an example of how to configure an unoptimized build, but there
>> is no example for an optimized one.  How about adding that lacking
>> example to the file?
>
> If you drop the "CFLAGS=" part, you get an optimized build by
> default.  The example of that is already in nt/INSTALL, even before
> the one that shows how to pass non-default CFLAGS.

Thank you.

-- 
Dani Moncayo




This bug report was last modified 8 years and 344 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.