News for hackers. Stuff that matters.
Re:Peachpie – Open Source PHP Compiler to .NET and WordPress... by nikic on Friday July 28, 2017 @10:31AM (#14874489)
Disclaimer: PHP core dev.

Be careful with microbenchmarks. From my experience, there tends to be very little correlation between performance improvements on microbenchmarks and real applications. If you improve performance on the microbench suite by a factor of two, you definitely will not get a factor of two on real applications -- more likely, it will be something like 2%.

Basically, if the benchmark is not testing end-to-end performance on Wordpress (or similar), then it's a useless benchmark.

Re:Peachpie – Open Source PHP Compiler to .NET and WordPress... by TazeTSchnitzel on Friday July 28, 2017 @11:08AM (#14874784)
The classic example of this would be that, before PHP 7, Zend spent a lot of effort trying to make PHP use JIT. It improved the results on microbenchmarks a lot, but made negligible difference to real-world code, IIRC.
Re:Peachpie – Open Source PHP Compiler to .NET and WordPress... by jakubmisek on Saturday July 29, 2017 @06:12AM (#14880468)
Good point. In case of Peachpie microbenchmarks - that time it was the only pieces code that could be compiled ... We'll try to update benchmarks for more complex solutions.