Question

I am impressed by the discussions around HipHop PHP from Facebook, also want to try it once. I found many articles saying how HipHop is improving performance and I found installation steps as well. But no where I found the steps/guide to use this HipHop and check the performance improvement.

I guess many people already used the HipHop, so please let me know the exact steps to use the HipHop and check the performance improvement. If you know there are already some blogs or something to specify the corresponding flow then at least please point me to those resources.

FYI: I have already installed the HipHop in my Ubuntu 12.04 LTS by following the instructions from the wiki page, but don't know to use that. I am using CodeIgniter framework in my project.

Was it helpful?

Solution

One approach (for a web application) would be to run ab, a pretty simple benchmarking tool.

It will not take other resources like images or scripts into account, but only response time of the page itself, so you should get a decent idea about what the load times were before and after. To test concurrenct request handling, it has options for parallel requests.

Basic usage is something like

ab -n2000 -c5 http://www.example.com

Where n is the amoutn of requests and c is the concurrency level

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top