New Zend AMF with 10x Performance Boost
Wade just blogged about a patch that was submitted by Mark Reidenbach to Zend AMF that provides a 10x performance boost over the old one. This isn’t a final release and everyone is still making sure the patch hasn’t introduced any new bugs so he’s encouraging everyone to download this one and make sure it works correctly. If you have issues, add it to the current open bug.
From Wade’s post:
Thanks so much Mark! I have also added a reference check optimization that uses SPL_object_hash to quickly see if an object has been seen before or not. Overall you should see a big performance increase. The test case I used was the James Ward’s census data from my ZendCon talk which consists of random people objects ranging from 1 – 100 duplicates totaling 5k total rows. Xdebug profiling analyzed by KCacheGrind showed roughly a 10X increase in performance!







January 18th, 2010 at 1:56 pm
Hi Ryan
Very cool boost!
If you are interested by Flash10 Classes (Vector / Dictionnary) for AMF3 i’m currently adapting the Adobe Flex Java Framework source tu support it.
See my result here: http://bit.ly/7cdqur
January 18th, 2010 at 4:16 pm
I’ve already created AMF parsing libaries for AS3. That’s what .minerva uses: (http://blog.coursevector.com/minerva). The code is already up on Google code for anyone to use. Although I need to put the latest version as I’ve added the ability to write AMF as well. http://code.google.com/p/cvlib/
January 20th, 2010 at 5:01 pm
Yessss, I’ve been looking forward to it. Mark Reidenbach should be heavily credited. http://framework.zend.com/issues/browse/ZF-7493
February 3rd, 2010 at 7:16 am
That’s awesome. I look forward to playing around with Zend AMF again, and this could definitely be what makes the decision between php and something else for the next largely back-end driven site I make for flash.
It’s crazy how much hash tables – and other data types that reduce overhead – can improve performance. I consider knowledge of these data structures to be the mark of a true programmer, and find that many web developers/designers without a formal background or training in programming lack the know-how of these kinds of tools.