30.06.2016 Views

Magento Site Performance Optimization

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 4<br />

You can also download it from http://mathieu-nayrolles.com/magentooptimization/chapter4/hhvm.hdf.<br />

Now, run the following command:<br />

$ sudo ./hhvm –mode daemon –config /etc/hhvm.hdf<br />

The hhvm executable is under hhvm/hphp/hhvm. Is all of this worth it? Here's<br />

the response:<br />

ab -n 100 -c 5 http://192.168.0.105/index.php/furniture/livingroom.html<br />

Server Software:<br />

Server Hostname: 192.168.0.105<br />

Server Port: 80<br />

Document Path:<br />

Document Length:<br />

/index.php/furniture/living-room.html<br />

35552 bytes<br />

Concurrency Level: 5<br />

Time taken for tests: 4.970 seconds<br />

Requests per second: 20.12 [#/sec] (mean)<br />

Time per request: 248.498 [ms] (mean)<br />

Time per request: 49.700 [ms] (mean, across all concurrent<br />

requests)<br />

Transfer rate:<br />

707.26 [Kbytes/sec] received<br />

Connection Times (ms)<br />

min mean[+/-sd] median max<br />

Connect: 0 2 12.1 0 89<br />

Processing: 107 243 55.9 243 428<br />

Waiting: 107 242 55.9 242 427<br />

Total: 110 245 56.7 243 428<br />

[ 73 ]<br />

www.it-ebooks.info

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!