Optimizing PHP Code with Peachpie – Part 1

Posted on June 21, 2017, in category Benchmark, Information, tags: , , , , , , ,

Optimizations are one of the great advantages of compilers and just-in-time compilers, and one of the key features of Peachpie. In this post we’ll show you that with Peachpie we achieve far more than “just” compatibility with a significant amount of existing PHP code and great possibilities of interoperating between PHP and .NET.

... continue reading

Choosing The Right Web Server

Posted on October 11, 2016, in category Benchmark, Information, tags: , , , , ,

As we are taking a short break from working on Peachpie due to other obligations, not much progress has been made on the project itself. We would, however, like to touch on a very important aspect of getting the maximum out of your applications: choosing the right web server.

... continue reading

What Difference Does the ‘Core’ Make?

Posted on September 14, 2016, in category Benchmark, tags: , , , , , , , , ,

Last week we made a second appearance on Microsoft’s Channel 9 show “On .NET” to give an update on the progress we have been making with Peachpie compiler. As discussed in the livecast, we were quite interested in examining the performance differences of ASP.NET versus ASP.NET Core.

... continue reading

Running PHP on Microsoft Azure with Peachpie

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.

... continue reading

What Happens when PHP Static Fields are Compiled to .NET

Posted on June 22, 2016, in category Benchmark, tags: , , , , , , , , ,

Read about what happens to PHP static fields when compiled to .NET.

... continue reading

How .NET Handles PHP Static Local Variables

Posted on May 30, 2016, in category Benchmark, tags: , , , , , , , , , ,

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.

... continue reading

The .NET Effect – Microbenchmarking of Include

Posted on May 23, 2016, in category Benchmark, tags: , , , , , , , , , ,

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.

... continue reading

How Roslyn Empowers PHP and Peachpie

Posted on April 18, 2016, in category Benchmark, tags: , , , , , , ,

We have been busy adding more and more features to Peachpie and benchmarking them against standard versions of PHP, but we also think it is important to share our thoughts on Microsoft Roslyn, which made Peachpie possible.

... continue reading

Microbenchmarking Method Calling: Peachpie crushes PHP by using Call Sites

Posted on April 13, 2016, in category Benchmark, tags: , , , , , , , ,

We have previously microbenchmarked the computation of Pi in PHP 5.6 and 7 versus Peachpie, as well as its predecessor Phalanger. With the progress we made in Peachpie, we are now able to measure how quickly it calls instance methods compared to regular PHP. This article summarizes the results of this benchmark.

... continue reading

Peachpie’s Debut: Running PHP in .NET

Posted on March 29, 2016, in category Announcement, Benchmark, Tutorial, tags: , , , , ,

Last week we taught Peachpie to compute simple arithmetic operations and demonstrated this ability on the Leibniz formula for Pi. We published a first microbenchmark, where we compared how quickly the irrational number was calculated with Peachpie compared to PHP 5.6 and 7, as well as with Phalanger. The results for this particular benchmark were […]

... continue reading