blackfire.io - fire up your php app performance [jan kopp] (7. sraz, praha)
TRANSCRIPT
![Page 1: Blackfire.io - Fire up your php app performance [Jan Kopp] (7. sraz, Praha)](https://reader031.vdocuments.pub/reader031/viewer/2022030305/58728ac91a28ab36118b5087/html5/thumbnails/1.jpg)
Blackfire.ioFire up your PHP App Performance
Jan Kopp - Digital Solutions
![Page 2: Blackfire.io - Fire up your php app performance [Jan Kopp] (7. sraz, Praha)](https://reader031.vdocuments.pub/reader031/viewer/2022030305/58728ac91a28ab36118b5087/html5/thumbnails/2.jpg)
Blackfire.io
![Page 3: Blackfire.io - Fire up your php app performance [Jan Kopp] (7. sraz, Praha)](https://reader031.vdocuments.pub/reader031/viewer/2022030305/58728ac91a28ab36118b5087/html5/thumbnails/3.jpg)
Komponenty
![Page 4: Blackfire.io - Fire up your php app performance [Jan Kopp] (7. sraz, Praha)](https://reader031.vdocuments.pub/reader031/viewer/2022030305/58728ac91a28ab36118b5087/html5/thumbnails/4.jpg)
Profilování- Prohlížeč i CLI
- Automatizované ukládání profilů na server
- Návrhy doporučených úprav
- Analytické a porovnávací nástroje
- Sdílení profilů
- Podpora různých prostředí - monitoring produkce, výkonnostní testování
- Konfigurace v .blackfire.yml
![Page 5: Blackfire.io - Fire up your php app performance [Jan Kopp] (7. sraz, Praha)](https://reader031.vdocuments.pub/reader031/viewer/2022030305/58728ac91a28ab36118b5087/html5/thumbnails/5.jpg)
Profilování- Vestavěné metriky
- metrics.sql.connections
- metrics.sql.queries
- metrics.redis.connections
- metrics.redis.queries
- metrics.twig.compile
- metrics.doctrine.entities.created
- Individuální metriky
- metrics.foo.bar.peak_memory
- metrics.cache.write.peak_memory
- Hodnoty metrik
- count
- wall_time, cpu_time
- memory, peak_memory
- io, network_in, network_out
![Page 6: Blackfire.io - Fire up your php app performance [Jan Kopp] (7. sraz, Praha)](https://reader031.vdocuments.pub/reader031/viewer/2022030305/58728ac91a28ab36118b5087/html5/thumbnails/6.jpg)
![Page 7: Blackfire.io - Fire up your php app performance [Jan Kopp] (7. sraz, Praha)](https://reader031.vdocuments.pub/reader031/viewer/2022030305/58728ac91a28ab36118b5087/html5/thumbnails/7.jpg)
![Page 8: Blackfire.io - Fire up your php app performance [Jan Kopp] (7. sraz, Praha)](https://reader031.vdocuments.pub/reader031/viewer/2022030305/58728ac91a28ab36118b5087/html5/thumbnails/8.jpg)
Profilování - Live demo
![Page 9: Blackfire.io - Fire up your php app performance [Jan Kopp] (7. sraz, Praha)](https://reader031.vdocuments.pub/reader031/viewer/2022030305/58728ac91a28ab36118b5087/html5/thumbnails/9.jpg)
Testování- Integrace s PHPUnit
- Vyžaduje PHP SDK composer require blackfire/php-sdk
- Definice hodnot sledovaných metrik
- Sledování výskytu “složitých” metod
- Výkonnostní testování
![Page 10: Blackfire.io - Fire up your php app performance [Jan Kopp] (7. sraz, Praha)](https://reader031.vdocuments.pub/reader031/viewer/2022030305/58728ac91a28ab36118b5087/html5/thumbnails/10.jpg)
![Page 11: Blackfire.io - Fire up your php app performance [Jan Kopp] (7. sraz, Praha)](https://reader031.vdocuments.pub/reader031/viewer/2022030305/58728ac91a28ab36118b5087/html5/thumbnails/11.jpg)
Testování - Live demo
![Page 12: Blackfire.io - Fire up your php app performance [Jan Kopp] (7. sraz, Praha)](https://reader031.vdocuments.pub/reader031/viewer/2022030305/58728ac91a28ab36118b5087/html5/thumbnails/12.jpg)
Testování- Agregace jednotlivých testů
- Notifikace - E-mail, Hipchat,
Slack
- Scénáře jsou navzájem
nezávislé
- Triggery pro spouštění scénářů
![Page 13: Blackfire.io - Fire up your php app performance [Jan Kopp] (7. sraz, Praha)](https://reader031.vdocuments.pub/reader031/viewer/2022030305/58728ac91a28ab36118b5087/html5/thumbnails/13.jpg)
Live demo
![Page 14: Blackfire.io - Fire up your php app performance [Jan Kopp] (7. sraz, Praha)](https://reader031.vdocuments.pub/reader031/viewer/2022030305/58728ac91a28ab36118b5087/html5/thumbnails/14.jpg)
Blackfire.io+ Easy to use
+ Profily, Testy, Notifikace
+ Automatizace
+ Nezatěžuje server jako Xdebug
- Pricing - Hack, Premium €99 / měsíc, Enterprise