News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Rdavid.net:
Test Results on Memory Usage of Zend Framework and Doctrine with APC
January 18, 2010 @ 13:38:01

On Rdavid.net there's a post with the results from some tests run on hos much memory the Zend Framework and Doctrine used both with and without the APC caching.

I have decided to run with Doctrine as my Domain Model in Zend Framework projects. The thing is, if I'm going to commit to this, I need to know that applications I build in the future with the Zend Framework while using Doctrine as an integral part of the Model layer will not take performance hits from things like memory usage. With Doctrine doing a _lot_ of magic, I thought that this would be something that I wanted to see for myself. 4MB Memory to execute a simple Query?!?! Ffffff#$#!!!!

He includes the code for his testing procedure - creating a basic Doctrine object and running a "fetchOne" query and measuring the memory consumption with the memory_get_usage function. His results with the APC caching came out faster by about 60-70 percent.

0 comments voice your opinion now!
zendframework memory usage doctrine benchmark


blog comments powered by Disqus

Similar Posts

PHPImpact Blog: Building a Web Service Client using the Zend Framework

Rob Allen's Blog: Back to zero bugs (Zend_Config)

VG Tech: Swagger Docs in ZF2 with Examples - Part 1: Setup and Annotations

Pádraic Brady's Blog: Complex Views with the Zend Framework - Part 2: View Helper Pattern

Denis de Bernardy\'s Blog: php4, php5 and php6 - thoughts and stats


Community Events





Don't see your event here?
Let us know!


threedevsandamaybe introduction developer opinion refactor laravel community install podcast release language wordpress list series unittest code configure framework testing interview

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework