delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/11/09/12:21:12

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
X-Spam-Score: -87.968
Message-ID: <49171BBE.3070804@sh.cvut.cz>
Date: Sun, 09 Nov 2008 18:19:58 +0100
From: Vaclav Haisman <v DOT haisman AT sh DOT cvut DOT cz>
User-Agent: Thunderbird 2.0.0.17 (X11/20081017)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin Slow on XP
References: <20407072 DOT post AT talk DOT nabble DOT com> <491716C0 DOT 40309 AT sh DOT cvut DOT cz> <20408387 DOT post AT talk DOT nabble DOT com>
In-Reply-To: <20408387.post@talk.nabble.com>
OpenPGP: id=63B6B297
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

tomotomo wrote:
> The program calculates a factorial of a number. e.g. factorial 11 =
> 11*10*9*8*7*6...*1
Thanks, I know what is factorial :)

> It's programmed in C++.
> I'm using Cygwin (GNU) C++ compiler to compile it. 
The 3.4.x version of GCC on Cygwin suffers performance penalty from SJLJ
implementation of exceptions that it uses. It could be that you are
being bitten by it. But without seeing the real code and the real
command line that you have used to compile the test executable, it is
hard to tell what is making it so slow.

Again, you will have to provide more information.

- --
VH

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iFYEAREIAAYFAkkXG70ACgkQhQBMvHf/WHn0hQDcDoSm5pFW64ZMcBIJe/5V1hZO
0JjPtkE4PsE5iADfW7cXdHw8Bo+DnbhA5EXhvYhPSVy7vb9THZ9V/Q==
=4nRA
-----END PGP SIGNATURE-----

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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