Re: Mid-term Update for Cycle Collector (Google Summer of Code Project)
| From: | Derick Rethans | Date: | Fri, 13 Jul 2007 07:37:03 +0000 |
| Subject: | Re: Mid-term Update for Cycle Collector (Google Summer of Code Project) | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-30882@lists.php.net to get a copy of this message | ||
On Wed, 11 Jul 2007, David Wang wrote:
> On the Graph test, maximum memory usage with unmodified PHP was 133.9
> MB with an execution time of 8 seconds.
> On the Graph test, maximum memory usage with gc was 51.6 MB with an
> execution time of 9 seconds.
> On the Template test, maxmium memory usage with unmodified PHP was 1.5
> GB with an execution time of 30 seconds.
> On the Template test, maxmium memory usage with gc was 67.3 MB with an
> execution time of 1 minute.
> 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.
> These tests were conducted on my dual core AMD X2 4400+ desktop with
> ./configure --with-gd --with-jpeg-dir --with-zlib. As you can see,
> there is the classic time vs. memory trade-off.
My numbers are even slightly better (64bit Intel Core2 Duo @ 1.83Ghz).
The 1000 template tests without GC: 1m35s with 1540Mb
with GC: 1m57s with 73Mb
Derick