 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
DZone.com: Speed Up Your PHP Like Facebook
by Chris Cornutt November 29, 2011 @ 10:13:03
On DZone.com John Esposito reminds you about another technology Facebook has introduced to the world of PHP (besides HipHop) - XHProf, a PHP profiler.
Facebook did more for PHP: they also created XHProf, a PHP profiler with a (supposedly) easy-to-use HTML interface, designed to pinpoint exactly where your bottlenecks are appearing, so that you can optimize at every stage in the pipeline. [...] If you haven't tried XHProf, you might want to look into it. Installation apparently requires a little nudging, but Nick Lewis just posted a full, practical guide to benchmarking and performance tuning your PHP and MySQL, using XHProf (as well as other techniques) -- a very nice overview of many common bottlenecks and how to open them up.
There's also a link to some Drupal 6 benchmarks that shows how it has helped that project (including both small and large improvements).
voice your opinion now!
facebook hiphop xhprof profiler speed performance
Artur Graniszewski's Blog: Drupal 7 HipHop for PHP vs APC - benchmark
by Chris Cornutt May 19, 2011 @ 11:01:20
Artur Graniszewski has written up a comparison of the performance of a standard Durpal 7 installation using HipHop versus APC to handle the optimization of the application.
There have been many suggestions on improving Drupal performance, some of them recommend the use of APC module, data caching, or even compilation of the entire system through HipHop for PHP. While the first two solutions have been successfully implemented, no one was able to perform the build process. After many battles with the the compiler and the Drupal code, I present you results of the first successful translation of Drupal 7 to C++ language
He introduces the methods he used and the statistics of the platform (hardware) he tested with. He also includes the software used and compile commands used to create the compiled Drupal version. Included in the post are graphs showing CPU usage comparing the two types of testing (HipHop and APC) versus a normal PHP-based installation. It also briefly touches on concurrency levels and the different optimizations that could be made with the gcc compiler.
voice your opinion now!
drupal apc hiphop benchmark cpu usage
WebTutor.pl: HipHop for PHP Benchmark - Revenge of PHP
by Chris Cornutt April 20, 2011 @ 13:47:50
On the WebTutor.pl site they've posted the second part of their series looking at the benchmark results from their tests running HipHop. You can find their first post with some of the introductory setup and information here.
In previous article I measured the performance of HipHop for PHP by performing some tests downloaded from the shootout.alioth.debian.org website. Unfortunately the test list was incomplete. Only six tests were selected to avoid potential incompatibility issues with the HipHop compiler.
In this new post he provides the results for two more tests: regex-dna and k-nucleotide. He outlines the testing platform and shares the results of testing some pretty basic scripts. His results were interesting and found that some operations the HipHop compiler actually slowed down.
voice your opinion now!
benchmark hiphop statistic platform speed
PHPClasses.org Blog: 2010 Yet another great year for PHP
by Chris Cornutt December 23, 2010 @ 08:50:54
On the PHPClasses.org blog today there's a new post from Manuel Lemos looking back at 2010 an the life of PHP - yet another great year.
2010 was an year full of interesting happenings for the PHP development and its community of developers. This article presents a balance of what were the most important happenings in the PHP community in 2010, as well a reflection of what we can expect for 2011 for PHP, as well for the PHPClasses site.
Among the important happenings of this past year he mentions the issues surrounding PHP6, HipHop and PHP running on the Andriod platform. He speculates on a few things that we can expect from PHP in the upcoming year(s) like the release of PHP 5.4. Also included are some updates that were made to the PHPClasses.org site itself.
voice your opinion now!
opinion year lookback php6 hiphop android
php|architect: Facebook Invades DCPHP
by Chris Cornutt May 05, 2010 @ 10:48:54
On the php|architect site today there's a wrap-up from Keith Casey about the latest DC PHP User Group meeting where Scott MacVicar from Facebook presented on HipHop.
[Scott's] title is "Open Source Developer Advocate" which puts him in the odd position of making good things happen within Facebook, representing them to the community, and convincing the community to get involved. Towards that goal, this presentation was the last stop of a short tour to present HipHop to PHP groups.
He mentions the stats Scott shared - the size of Facebook's image hosting, the time spent on the site by the average user - and, of course, details on how HipHop helps them with his crushing load of users. He was also asked a question on the lips of many a developer out there - why would Facebook release HipHop for public consumption? You'll have to read the post to find out.
voice your opinion now!
facebook scottmacvicar hiphop dcphp
Doru Moisa's Blog: Static call versus Singleton call in PHP
by Chris Cornutt March 01, 2010 @ 21:22:57
Doru Moisa has written up a new post with some benchmarks comparing static calls versus singleton calls for a few different situations.
n the past several months I've been working with a rather large application built with symfony. I noticed that symfony makes heavy use of the Singleton pattern (other frameworks, like Zend do that too); everywhere in the code [...] Notice the amount of code needed by the Singleton pattern. Except the [shown] method, all the code in the class makes sure you have only one instance at any time during the execution.
He shows how to replace the standard singleton logic with something more specific and decides to test the two methods, seeing which of them can handle the most requests per second. His sample code is included for both the scripts called and the test script run. In all instances, the static call won out over the singleton instance easily. Even when tested with the Facebook compiler, the results were still the same.
voice your opinion now!
static singleton benchmark hiphop
Michael Wales' Blog: What does HipHop PHP mean for CodeIgniter?
by Chris Cornutt February 24, 2010 @ 11:37:36
Michael Wales has taken a look at what effect HipHop could have on your CodeIgniter application (or lack there of).
So, what does this mean for the CodeIgniter community? In short, absolutely nothing. Most CodeIgniter developers are building applications that will run on shared hosts, virtual private servers or a cloud-based virtualization system. Of that very large group of our community, an extremely small number have the capability to compile the HipHop binaries or alter their configuration in order to serve HipHop pages.
He points out that, for most developers and applications, time is better spent optimizing the actual application - things like reducing the I/O needs, caching, etc. HipHop, unless you have a very high demand and load on the application, won't give much of a gain. He gives the example of Facebook's load and how even it would only relatively recently would benefit from the tool.
voice your opinion now!
codeigniter framework hiphop facebook effect
|
Community Events
Don't see your event here? Let us know!
|