As we continue making progress with the development of Peachpie, we have implemented several constructs that demonstrate the benefits of using a PHP compiler to .NET. This week, we would like to show some official PHP benchmarks and explain why this is significant.
As announced in the last blog post, there has been some major progress in the development of the Peachpie platform over the last couple of weeks. Peachpie is now capable of running compiled PHP applications on IIS and on the Microsoft Azure cloud.
Moving on down the roadmap, we are implementing more and more PHP functionalities into Peachpie compiler. This week, we would like to introduce a particularly popular one – Static Local Variables.
We previously talked about the include/require functionality, which we recently managed to implement in Peachpie. Now we decided to put the compiler to the test and benchmark the include function against standard PHP and Phalanger.
We have been working hard to produce something tangible and/or executable to demonstrate some of the usecases, features, and benefits of Peachpie. In honor of Pi Day last week, it seemed like a good idea to produce the first demo of the PHP compiler to .NET by allowing it to compute Pi.
In the first part of the introductory article, we covered the origins of Peachpie. We mentioned the primary motivations behind the creation of a PHP compiler, which led to the development of Phalanger, the predecessor of Peachpie.The last post finished by pointing out the nuances and benefits of Microsoft’s Roslyn compiler, which paved the way for Peachpie. In Part II, we would like to explain in what ways Peachpie will outperform Phalanger and to what overall benefits we expect this to lead.