~/talk

Performance is a Feature It Should Be Tested as Such

Talkat Laracon EU Online 2021 · 2021-01-18..01-22· [web-performance, testing]
name:Blackfire
links:none on file
slides:none on file

Claim: performance is a feature and must be tested with concrete assertions. Uses Blackfire plus the blackfireplayer and declarative blackfire.yaml scenarios to generate a profile for every page step, run in CI or as periodic builds (every six hours). Tests assert concrete numbers — e g wall time < 100 ms, < 50 Eloquent objects — rely on ~600 built‑in metrics, produce per‑step profiles, and surface failures immediately so automation actually catches regressions.

AI-written summary · about

  1. 0:00Start
  2. 9:48A Database Connection Should Be Opened Only When Queries Are Made
  3. 15:55Scenarios
  4. 18:57Authentication
  5. 19:31Assertion
  6. 20:25Blackfireplayer
  7. 20:41Blackfire Player
  8. 25:07Periodic Builds
  9. 26:30Writing Scenarios
~/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.