Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Profiling 101: o que é e como fazer - PHPConfer...
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Diana Arnos
December 07, 2019
Programming
410
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Profiling 101: o que é e como fazer - PHPConference 2019
Uma introdução ao profiling e sua execução com xdebug e blackfire.io
Diana Arnos
December 07, 2019
More Decks by Diana Arnos
See All by Diana Arnos
PHP Além do Síncrono
dianaarnos
1
540
O Mundo Mágico dos Profilers
dianaarnos
0
160
Trabalhar na gringa - Como chegar lá?
dianaarnos
0
380
PCS2020 - PHP Além do Síncrono
dianaarnos
2
1.1k
VDPWeekend - Emprego dos Sonhos - O que esperam de você e como ser cada vez melhor
dianaarnos
1
220
PHPPR Live 2020 - PHP Paralelo e Distribuído
dianaarnos
0
180
PHP e Segurança: é possível - PHPConference BR 2019
dianaarnos
0
590
PHP, Symfony and Security
dianaarnos
0
820
Back End Performático - CPGoiás 2019
dianaarnos
0
120
Other Decks in Programming
See All in Programming
ローカルLLMを使ってB2Bサービスを作っていての学び
yaotti
0
160
The ROI of Quarkus for Spring Boot Applications
hollycummins
0
100
Old Dog, New Tricks: The Java 25 Reinvention - JNation
bazlur_rahman
0
150
スマートグラスで並列バイブコーディング
hyshu
0
120
AIエージェントの隔離技術の徹底比較
kawayu
0
470
jQueryをバージョンアップする前に使いたいjQuery Migrate
matsuo_atsushi
0
200
AI 時代のソフトウェア設計の学び方
masuda220
PRO
29
12k
Hunting Vulnerabilities in Symfony with LLMs
vinceamstoutz
0
530
JJUG CCC 2026 Spring: JSpecify で実現する Kotlin フレンドリーな Java API 設計
ternbusty
1
160
dRuby over BLE
makicamel
2
330
3Dシーンの圧縮
fadis
1
690
JavaDoc 再入門
nagise
0
310
Featured
See All Featured
Color Theory Basics | Prateek | Gurzu
gurzu
0
360
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
1
3.6k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.2k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
580
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Producing Creativity
orderedlist
PRO
348
40k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.5k
Ruling the World: When Life Gets Gamed
codingconduct
0
250
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.3k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.2k
Discover your Explorer Soul
emna__ayadi
2
1.1k
Leo the Paperboy
mayatellez
7
1.8k
Transcript
PROFILING 101 O que é e como fazer?
@dianaarnos Dev, Sec, Music, Kung Fu. Engenheira de Software @
Blackfire.io Arquiteta e Desenvolvedora @ MT4 Evangelista @ PHPSP Evangelista @ PHPWomenBR
ERA UMA VEZ UMA APLICAÇÃO...
None
None
NA SEMANA SEGUINTE...
None
None
None
VOCÊ FAZ DEPLOY?
None
NÃO.
E QUANDO A PERFORMANCE É MENOR?
PERFORMANCE RUIM = - DINHEIROS
RUIM PARA O NEGÓCIO = DISFUNÇÃO
DISFUNÇÃO = BUG
None
PERFORMANCE = FEATURE
https://edge.akamai.com/ec/us/highlights/keynote-speakers.jsp#edge2016futureofcommercemodal ALIEXPRESS -36% LOAD TIME = +10,5% DE PEDIDOS
PERFORMANCE NO CICLO DE VIDA DE DESENVOLVIMENTO
COMO MEDIR?
PROFILING.
PROFILING. PROFILING?
ANÁLISE DINÂMICA
ANÁLISE DINÂMICA MEDIÇÕES (MEMÓRIA, TEMPO, CHAMADAS)
ANÁLISE DINÂMICA MEDIÇÕES (MEMÓRIA, TEMPO, CHAMADAS) OTIMIZAÇÃO
EXISTEM ALGUMAS FERRAMENTAS
None
PROFILER EMBUTIDO
#php.ini xdebug.profiler_enable = 1 xdebug.profiler_output_dir = /caminho/diretório
cachegrind.out.{hash/PID}
KCACHEGRIND
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
ON-DEMAND
ON-DEMAND TODOS OS AMBIENTES
ON-DEMAND TODOS OS AMBIENTES SEM OVERHEAD EM NON-PROFILING REQUESTS
BUILDS
None
None
None
None
None
None
REFERÊNCIAS http://bit.ly/diana-ref2
SLIDES http://bit.ly/diana-slides2
OBRIGADA! Fale comigo: @dianaarnos