YoVDO

Profiling PHP Applications

Offered By: PHP UK Conference via YouTube

Tags

PHP UK Conference Courses Load Balancing Courses Xdebug Courses

Course Description

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

Related Courses

What's New in PHP 8.1
PHP UK Conference via YouTube
From Betamax to VCR - Harden Your API Integration Testing
PHP UK Conference via YouTube
Levelling Up Your Web Scraping Game
PHP UK Conference via YouTube
Practical Advanced Static Analysis
PHP UK Conference via YouTube
PHP Fibers
PHP UK Conference via YouTube