The golden benefits of C'ing your PHP

John did more work on his PHP extensions. I find research into performance tuning and benchmarking fascinating. By using the C version of one of his PHP functions John gained a 75% increase in speed! Excellent!
John, can you try both PHP code and C code with PHP Accelerator or some other opcode caching tool? I guess the accelerator won’t affect performance of the C extension, but it may work well on your PHP loops. (but I doubt anywhere near the 75% you experienced with C!)

Published by

Donncha

Donncha Ó Caoimh is a software developer at Automattic and WordPress plugin developer. He posts photos at In Photos and can also be found on Google+ and Twitter.

Leave a Reply