~/talk

Performance optimisation: how do I go about it?

Talkat phpDay 2018 · 2018-05-11..05-12· [php, web-performance]
name:Kat Zień
github:katzien
slides:none on file

A small CLI URL checker named cigar profiles from ~3.0s down to ~0.3s after diagnosing an expensive array_map closure that computes PI and removing it; workflow shows XHProf, Xdebug, QCacheGrind and meminfo for profiling, call graphs and heap inspection, with concrete numbers and before/after traces. The process emphasizes measure then change: record a baseline, open profiler output, find the big empty squares, eliminate unused objects and confirm memory and timing improvements.

AI-written summary · about

  1. 0:00Start
  2. 13:22MICRO OPTIMISATIONS
  3. 18:18OFF THE SHELF
  4. 20:32TOOLS FOR PHP
  5. 22:23INSTALL A PROFILER
  6. 26:29BASELINE FIRST
  7. 46:53SILVER SPONSOR
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.