Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:28970 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 20546 invoked by uid 1010); 24 Apr 2007 11:56:14 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 20531 invoked from network); 24 Apr 2007 11:56:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Apr 2007 11:56:14 -0000 Authentication-Results: pb1.pair.com header.from=tijnema@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=tijnema@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.132.249 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: tijnema@gmail.com X-Host-Fingerprint: 209.85.132.249 an-out-0708.google.com Received: from [209.85.132.249] ([209.85.132.249:56885] helo=an-out-0708.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6D/13-21560-D50FD264 for ; Tue, 24 Apr 2007 07:56:14 -0400 Received: by an-out-0708.google.com with SMTP id c28so2575686ana for ; Tue, 24 Apr 2007 04:56:11 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hdvW9vdykUNYj027XJ92YlGS/mbzVB5MJIKD1QjUOHxPntD7CckfbWHTXZq9TwmvwlgxmD61jqAI3nSaGHyqjXmp1Xcz4ii8bKDrU0Kglu+Nnpt6wvUBx25I/Tx2Fwd5U45d41/4WpkKXznR5CSWc+tk6Er+99VAleutkRGDL5A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=VdpySXzR9B8AkHf4KxukL79mlWTdgvNxWC7e77xcxFaXcWgm94fH6VZUuTypFW/dNPsP97qJQ01708Q1zRn0liiZ2Kf0xSc2yi+rd8G3/1Hd4zHndaBlH2asfAoscoMswUEtazS4gSrDH0kC0W13JtJMsprkqCenQVjBwZB4qi8= Received: by 10.100.209.10 with SMTP id h10mr2128760ang.1177415771087; Tue, 24 Apr 2007 04:56:11 -0700 (PDT) Received: by 10.100.43.17 with HTTP; Tue, 24 Apr 2007 04:56:10 -0700 (PDT) Message-ID: Date: Tue, 24 Apr 2007 13:56:10 +0200 To: "Antony Dovgal" Cc: "dletz@blog.de" , "internals@lists.php.net" In-Reply-To: <462DE338.8000203@zend.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <462DD77B.7070006@zend.com> <462DE338.8000203@zend.com> Subject: Re: [PHP-DEV] require_once From: tijnema@gmail.com ("Tijnema !") On 4/24/07, Antony Dovgal wrote: > On 04/24/2007 02:17 PM, dletz@blog.de wrote: > > Wow thats fast! > > > > On my machine i get these results: > > Win32 (PHP 5.2.1 CLI) > > > > require_once - 1.7735 sec > > myrequire_once - 1.0973 sec > > > > > > is that with the sources i just send? > > Yes, of course. > But I'm using Linux, not windows. > > -- > Wbr, > Antony Dovgal That makes the real difference :) On my 1.1Ghz AMD Linux server: require_once: 0.2046 myrequire_once: 0.8541 And on my AMD 2.2 Ghz AMD Windows XP SP2: require_once: 0.6525 myrequire_once: 0.9448 There's really no improvement on both platforms. But it's more interesting that my 1.1Ghz PC running linux is triple as fast as my 2.2Ghz PC running Windows. (when using require_once) Tijnema