Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:30939 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 87059 invoked by uid 1010); 14 Jul 2007 21:13:56 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 87044 invoked from network); 14 Jul 2007 21:13:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Jul 2007 21:13:56 -0000 Authentication-Results: pb1.pair.com header.from=jeff@procata.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=jeff@procata.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain procata.com from 207.58.169.145 cause and error) X-PHP-List-Original-Sender: jeff@procata.com X-Host-Fingerprint: 207.58.169.145 vps.procata.net Linux 2.4/2.6 Received: from [207.58.169.145] ([207.58.169.145:36029] helo=vps.procata.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 40/4A-05977-29C39964 for ; Sat, 14 Jul 2007 17:13:55 -0400 Received: from [65.111.214.75] (helo=[10.0.1.2]) by vps.procata.net with esmtp (Exim 4.63) (envelope-from ) id 1I9ow2-0007pG-Ta; Sat, 14 Jul 2007 17:13:51 -0400 In-Reply-To: <46990E11.8090209@lerdorf.com> References: <0E6F6F20-5F50-4FC0-9B24-F960A36E0C80@procata.com> <46990E11.8090209@lerdorf.com> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-ID: <366809D9-25AA-4839-94B9-B6D085D644D9@procata.com> Cc: internals@lists.php.net, Rasmus Lerdorf Content-Transfer-Encoding: 7bit Date: Sat, 14 Jul 2007 17:13:48 -0400 To: David Wang X-Mailer: Apple Mail (2.752.3) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vps.procata.net X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - procata.com X-Source: X-Source-Args: X-Source-Dir: Subject: Re: [PHP-DEV] Mid-term Update for Cycle Collector (Google Summer of Code Project) From: jeff@procata.com (Jeff Moore) David, On Jul 14, 2007, at 1:55 PM, Rasmus Lerdorf wrote: > It is still extremely rare for code to have cyclic references. So > while > GC could prevent swapping in the case of a malicious user, or in the > case of a coding mistake, I don't think the general case of typical > code > running under normal circumstances would consume less memory with GC > enabled. This is a good point. On Jul 11, 2007, at 4:43 PM, David Wang wrote: > On the whole suite of tests (which includes the Graph and Template > tests), execution time with unmodified PHP was 12:03. With cycle > collection, it was 12:43. Since test suites repeatedly build up and tear down data structures, it seems to me that these would be great stress tests for a garbage collector, but not very representative of the patterns of an average php application. Do you have any performance/memory usage numbers for something more typical like a WordPress index page request or some such thing? Best Regards, Jeff