Overview
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