~/talk

Getting the most out of the PHP 7 engine - the example of Symfony

Talkat PHPKonf 2020 Online · on Saturday, 2020-12-12· [php]
slides:none on file

Symfony v4/v5 applies measured engine-level changes and reports big wins: hello‑world response time falls from ~200ms to ~10ms; splitting the DI container into many files cuts CLI boot from ~130ms to ~15ms; Composer classmap fixes and immutable-string/array usage drop memory by ~11–30%. Uses blackfire for profiling, relies on opcache and a generated preloading script, adds inline require and compiler-pass guards, and shows these changes consistently reduce CPU and memory overhead.

AI-written summary · about

  1. 0:00Intro
  2. 0:15blackfire
  3. 4:05Synchronous and parallel
  4. 7:48Persistent memory pools
  5. 9:09Steps to execute a script
  6. 9:43First steps are immutable
  7. 10:03Compile time optimizations
  8. 11:48Compile time evaluation Works for constants
  9. 13:07Compile time inlining
  10. 15:30PHP 7 is slow... at compiling Let's split the container in one file per service
  11. 18:47Leveraging shared memory
  12. 19:52Copy-on-write Shared memory is read-only
  13. 20:41Not triggering copy-on-write
  14. 23:17Bypassing the autoloader
  15. 26:47More goodies • Coalesce operator
  16. 33:15PHP 7.4 - Preloading!
  17. 38:39Kudos Dmitry and Nikita
  18. 42:03Conclusion
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.