Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45327 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 63564 invoked from network); 21 Aug 2009 17:02:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Aug 2009 17:02:00 -0000 Authentication-Results: pb1.pair.com smtp.mail=basant.kukreja@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=basant.kukreja@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.198.239 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: basant.kukreja@gmail.com X-Host-Fingerprint: 209.85.198.239 rv-out-0506.google.com Received: from [209.85.198.239] ([209.85.198.239:30984] helo=rv-out-0506.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B1/8D-26842-603DE8A4 for ; Fri, 21 Aug 2009 13:01:58 -0400 Received: by rv-out-0506.google.com with SMTP id l9so296819rvb.23 for ; Fri, 21 Aug 2009 10:01:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=y5+kj35r93AcPK/h00v60KqTyC6sfO/UKv7qzCv9zDw=; b=b6ifJrY/ACHpeAAab7VtQGl20rIv8ALz6utOM/GbDZK6PCduzqBHb+KxuykF41c40k MltniWVcaEu2VsH24T6E38o0RVPXSVdv+s2RxQBBljdIJWOtDlIwiq4MejJ6kv3BizlJ a6EbTmAUqLJAkTqMewFBdlCIqWscdC7UFov1M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=QbhsrDUznKb5kX0+ESL/wY/iTOaXwDjHw89lbxsTtr4ZJNVSAkapT8yvxSLiZuGjEy nexv63t+foKPvkESD9cbDfcZRknuofOyfr6EUbgA6RLTg0BYMVOczkq/ZMTxPwVifi8D ltf+qMitYvRAnl5/NmFEgMLYN6+cXXfUWDPe8= Received: by 10.140.128.1 with SMTP id a1mr749166rvd.227.1250874115111; Fri, 21 Aug 2009 10:01:55 -0700 (PDT) Received: from dhcp-usca17-121-65.red.iplanet.com ([192.18.121.65]) by mx.google.com with ESMTPS id g31sm6148467rvb.6.2009.08.21.10.01.54 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 21 Aug 2009 10:01:54 -0700 (PDT) Message-ID: To: internals@lists.php.net In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Date: Fri, 21 Aug 2009 10:03:38 -0700 References: <465610226.20090816150239@scriptolutions.com> <1035866081.20090816155804@scriptolutions.com> <613920271.20090817005351@scriptolutions.com> X-Mailer: Apple Mail (2.935.3) Subject: Re: Re[5]: [PHP-DEV] Design of the Zend Engine's Instruction Set From: basant.kukreja@gmail.com (Basant Kukreja) I have measured Quercus php performance compared to standard php with APC on a ecommerce workload and found that Quercus php performed slower than standard php + APC. Regards, Basant. On Aug 16, 2009, at 11:16 AM, Tom Boutell wrote: > Re: the performance of PHP, if it's badly implemented, shouldn't > Quercus (a reimplementation of PHP in Java) run rings around it? > > In reality, Quercus is faster than PHP without APC, but with APC the > Quercus team themselves admit it only "roughly matches" the original > PHP in speed. > > http://www.caucho.com/resin-3.0/quercus/ > > I guess you could spin this the other way though. Java optimizes well, > but not as well as raw C. Standard PHP, being implemented in raw C, > ought to have some performance advantages over a reimplementation in > Java. But apparently not so much. > > On Sun, Aug 16, 2009 at 1:53 PM, Lothar Scholz > wrote: >> Hello Paul, >> >> PB> Yes, by many times. Part of that might be the expense of PHP's >> weak >> PB> typing and references. >> >> No. Smalltalk, Javascript, Lua they all have the same problem with it >> and they solve it in much more clever and performant ways. Javascript >> with its class free OO is even harder and with V8 they have a much >> much better solution. >> >> It's just the implementation - not the language. >> >> PB> They cause most operations to be more >> PB> expensive, even if they are not used in that particular >> operation. >> >> PB> I did a performance analysis of PHP in a paper I have in >> submission. >> PB> You might find it interesting (comment welcome): >> PB> https://www.cs.tcd.ie/~pbiggar/wip-sac-journal.pdf. >> >> Thanks, just had a 10min quick look at it - hope to find some more >> time later. >> >> And first of all begin a tool writer (IDE Developer) >> myself i can't agree more about the problems with "the source >> is the specification" idea. >> >> >> This sucks so huge and is such a >> fucking lazy argument of an incompetent language development team. >> By the way greetings to Matz and his team who also sucks >> with his CRuby. >> >> I really questioning the skills of a lot of core programmers when >> i read the PHP manual section about namespaces. Simple questions >> about >> scopes of identifier aliasing - nothing of this is specified. >> >> A buggy implementation should solve as reference? Damn'd fucking >> college boys. This was an acceptable development method for PHP3. >> >> >> Okay i must cool myself down. >> >> I've seen that you talked about branch prediction misses in your >> paper. Did you ever tried to compile the original PHP with different >> compilers, for example from intel or sun studio? Did you test or have >> you ever heard of someone who tested the influence of the profiling >> feedback that modern C compilers offer? (Well don't ask me - it's >> somewhere on my TODO list - but i also haven't had the time yet). >> >> -- >> Best regards, >> Lothar Scholz mailto:scholz@scriptolutions.com >> >> >> -- >> PHP Internals - PHP Runtime Development Mailing List >> To unsubscribe, visit: http://www.php.net/unsub.php >> >> > > > > -- > Tom Boutell > P'unk Avenue > 215 755 1330 > punkave.com > window.punkave.com > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >