From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <6e730a824d8c308481ed42b6d2560dc0@vitanuova.com> From: C H Forsyth Date: Sat, 31 Mar 2007 22:05:32 +0100 To: 9fans@cse.psu.edu Subject: Re: [9fans] slow performance In-Reply-To: <460EAD58.20906@arcepi.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-wenxltqkxnhkazpwkrpycusdwp" Topicbox-Message-UUID: 39615738-ead2-11e9-9d60-3106f5b1d025 This is a multi-part message in MIME format. --upas-wenxltqkxnhkazpwkrpycusdwp Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit a factor of 10 on a binary tree needs some investigation. i'd be surprised if it's a compiler optimisation (given that it's recursive, and thus full of function calls, which might i suppose be tail recursive, but we don't know yet either way). --upas-wenxltqkxnhkazpwkrpycusdwp Content-Type: message/rfc822 Content-Disposition: inline Received: from mail.cse.psu.edu ([130.203.4.6]) by doppio; Sat Mar 31 19:50:38 BST 2007 Received: from psuvax1.cse.psu.edu (localhost [127.0.0.1]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id D3A335ABE9 for ; Sat, 31 Mar 2007 14:50:50 -0400 (EDT) X-Original-To: 9fans@cse.psu.edu Delivered-To: 9fans@cse.psu.edu Received: from localhost (localhost [127.0.0.1]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 31DADC6CEA for <9fans@cse.psu.edu>; Sat, 31 Mar 2007 14:50:13 -0400 (EDT) Received: from mail.cse.psu.edu ([127.0.0.1]) by localhost (psuvax1 [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 20003-01-97 for <9fans@cse.psu.edu>; Sat, 31 Mar 2007 14:50:12 -0400 (EDT) Received: from smtp02.jazztel.es (smtp02.jazztel.es [62.14.3.171]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id E0BA3C6CBF for <9fans@cse.psu.edu>; Sat, 31 Mar 2007 14:50:11 -0400 (EDT) Received: from [87.218.39.70] (helo=berilium.arcepi.net) by smtp02.jazztel.es with esmtpa (Exim 4.60) (envelope-from ) id 1HXieQ-00073o-OX for 9fans@cse.psu.edu; Sat, 31 Mar 2007 20:50:10 +0200 Received: from lithium.arcepi.net ([172.26.0.2] ident=kvirc) by berilium.arcepi.net with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1HXieN-0000P6-6Z for 9fans@cse.psu.edu; Sat, 31 Mar 2007 20:50:07 +0200 Message-ID: <460EAD58.20906@arcepi.net> Date: Sat, 31 Mar 2007 20:50:00 +0200 From: Armando Camarero User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] slow performance References: In-Reply-To: X-Enigmail-Version: 0.94.1.1 Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Scanned: by amavisd-new at cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: 9fans-bounces+forsyth=vitanuova.com@cse.psu.edu Errors-To: 9fans-bounces+forsyth=vitanuova.com@cse.psu.edu Content-Transfer-Encoding: quoted-printable Could it run faster on other operating systems because of compiler's optimizations on your program? Maybe 8c makes less optimizations and code runs slower because of that. Armando. pedro henrique antunes de oliveira escribi=F3: > Well, i dont know if this is a plan9 question it self. > > I've writen a program using a data structure and the program spend > about 30 > secs to finish the task, some tima later I've compiled the same program > under other operating system, (and the same computer) and the program > finish > the task with 3 secs. > > > anyone knows what can it be? > --upas-wenxltqkxnhkazpwkrpycusdwp--