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
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php