2. WHY SHOULD I CARE?
• Save money?
• Look better?
• Keep clients!
3. COMPUTER PERFORMANCE
Computer performance is characterized by the amount of work accomplished by a computer system
or computer network compared to the time and resources used. Depending on the context, high
computer performance may involve one or more of the following:
• Short response time for a given piece of work
• High throughput (rate of processing work)
• Low utilization of computing resource(s)
• High availability of the computing system or application
• Fast (or highly compact) data compression and decompression
• High bandwidth
• Short data transmission time
As defined by Wikipedia
https://en.wikipedia.org/wiki/Computer_performance
4. HOW DOES ONE MANAGE
PERFORMANCE
Monitor
after release
Monitor
before release
Monitor
before your
client calls you
6. PHP PROFILING
• Analyze your application with a PHP profiler such
as BlackFire.io, New Relic, or xdebug/cachegrind
• Look for high number of calls, especially
apply_filters, mysql calls, and wp_cache_get
10. DATA ACCESS
• Use a tool such as New Relic to look through
number of calls to database
• Optimize calls when rolling out your own table
structures and ensure there are proper indexes
• Reduce number of plugins, widgets and
shortcodes can cut down on database access
14. BEATYOUR CLIENTTO
RESOLUTION
• Set up application-based alerts via New Relic
• Set up server monitoring via DataDog or New
Relic
• Set up 3rd party monitoring (New Relic, Pingdom)
15. PRODUCTION METRICS
• Response times / latency
Specifically for dynamic content serving
• Error rate
For both server and client
• Process availability
Is my Apache, Nginx, PHP-FPM, MySQL or
memcached up?
• Number of connections
Every machine has its limits, play within it
• Memory utilization
You do not want to use swap
• Database QPS
that actually matter
18. SOME CHEAP WAYSTO SPEED
UPYOUR WORDPRESS SITE
• Google mod_pagespeed
• Varnish
• W3TC or WP SuperCache
• fewer plugins
Caveat: not a one size fits all solution, so test and measure