Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Profiling PHP Applications

PHP UK Conference via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore profiling techniques and performance optimization strategies for PHP applications in this conference talk from PHP UK 2014. Learn how to measure web application performance, track user-perceived speed in the browser, and analyze issues using tools like Xdebug, XHProf, and the Symfony Debug Toolbar. Discover methods to decrease load times, including GZIP compression, database indexing, JS minification, proper caching headers, and asynchronous content loading. Gain insights into advanced techniques such as using Varnish, implementing pushState, and leveraging promises and futures to further enhance application speed and responsiveness.

Syllabus

Intro
ResearchGate SCIENTIFIC NETWORK
Step 1
Graphing it
Can we measure more?
Load balancer
More fine grained metrics
Define goals
Step 2
Profiling
Webgrind
DEMO
Use it locally on your dev machine
XHProf
php-meminfo
Symfony Debug Toolbar
Extend it
Step 3
Fix it
That's something you have to do
Keep up to date
Speed matters
Some hints on better performance
The obvious
GZIP
DB Indexes
Minify JS
Concatenate JS/ CSS/...
Correct caching headers
Opcache
Data Caching
APCU
memcached
Minimize redirects
Check image compression
Check YSlow, Pagespeed
DNS prefetch
Move logic to async workers
The "crazy" stuff
Varnish
Load content asynchronously
Flush content early
Move logic to shutdown handlers
function.php
request.php
Promises / Futures
pushState

Taught by

PHP UK Conference

Reviews

Start your review of Profiling PHP Applications

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.