ryochiji's blog
Brought to you fresh from the depths of Ryo Chijiiwa


 
Powered by
IlohaBlog

Section: All | News & Politics | Geek Stuff | Devel | Non-existent Life | Random | Food! | Life |

Archives: 2004 > 07

Sun, July 18, 2004

Dynamic PHP Code Optimization Works!

I finally got my "dynamic PHP code optimizer" idea to yield measurable results!! Yippeee! I'm not going to talk too much about it because it'll be in my O'Reilly presentation, but it's really cool. Basically, it loads up large include files in memory without passing it through the PHP engine, then dynamically loads individual functions as they become necessary. In IlohaMail's main.php, I'm getting a 7-9ms improvement (which is about 5-8% of the overall execution time), although it's highly dependent on the script and usage.



Ryo Chijiiwa

I'm a biologically Japanese, culturally American, Germany-raised, socially liberal, politically independent, gun-totin', code writin' dude. My life is currently sponsored by Google.
www.flickr.com
This is a Flickr badge showing public photos and videos from ryochiji. Make your own badge here.