Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:55883 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 24141 invoked from network); 21 Oct 2011 17:10:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Oct 2011 17:10:28 -0000 Authentication-Results: pb1.pair.com smtp.mail=smalyshev@sugarcrm.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=smalyshev@sugarcrm.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain sugarcrm.com designates 67.192.241.113 as permitted sender) X-PHP-List-Original-Sender: smalyshev@sugarcrm.com X-Host-Fingerprint: 67.192.241.113 smtp113.dfw.emailsrvr.com Linux 2.6 Received: from [67.192.241.113] ([67.192.241.113:53340] helo=smtp113.dfw.emailsrvr.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 21/20-22928-387A1AE4 for ; Fri, 21 Oct 2011 13:10:28 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp21.relay.dfw1a.emailsrvr.com (SMTP Server) with ESMTP id 83617240E43; Fri, 21 Oct 2011 13:10:24 -0400 (EDT) X-Virus-Scanned: OK Received: by smtp21.relay.dfw1a.emailsrvr.com (Authenticated sender: smalyshev-AT-sugarcrm.com) with ESMTPSA id 42A39240D95; Fri, 21 Oct 2011 13:10:24 -0400 (EDT) Message-ID: <4EA1A77E.9040009@sugarcrm.com> Date: Fri, 21 Oct 2011 10:10:22 -0700 Organization: SugarCRM User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: Lester Caine CC: PHP internals References: <4E9EA80F.8030607@lsces.co.uk> <4E9FD2C2.7070707@lsces.co.uk> <4EA150BC.7030107@lsces.co.uk> In-Reply-To: <4EA150BC.7030107@lsces.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Benchmarking ... From: smalyshev@sugarcrm.com (Stas Malyshev) Hi! On 10/21/11 4:00 AM, Lester Caine wrote: > So I suppose the question I have to ask is what the f**k am I doing wrong on the > windows setup? I've always known that linux was faster, but 4 times faster on > the same hardware? My main development machine is giving 27.750 seconds which is > even nicer, CPU-bound ops should be roughly the same speed on Windows and Linux since the code is basically the same. If they're not I guess the best way would be to profile it. File ops on windows are significantly slower because Windows FS is slower than Linux one. The difference can also be in compiler options - whci optimizations are chosen, etc.. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227