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
xdebug Profiler
Search
Peter Tilsen
June 23, 2015
Technology
0
49
xdebug Profiler
Short overview of xdebug profiler usage supported by qcachegrind
Peter Tilsen
June 23, 2015
Tweet
Share
More Decks by Peter Tilsen
See All by Peter Tilsen
Why did we choose to use GoLang
petertilsen
0
180
xdebug configuration
petertilsen
0
82
xdebug
petertilsen
0
74
Other Decks in Technology
See All in Technology
We Built for Predictability; The Workloads Didn’t Care
stahnma
0
130
会社紹介資料 / Sansan Company Profile
sansan33
PRO
15
400k
IaaS/SaaS管理における SREの実践 - SRE Kaigi 2026
bbqallstars
4
1.7k
ブロックテーマ、WordPress でウェブサイトをつくるということ / 2026.02.07 Gifu WordPress Meetup
torounit
0
130
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
13k
コスト削減から「セキュリティと利便性」を担うプラットフォームへ
sansantech
PRO
3
1.3k
システムのアラート調査をサポートするAI Agentの紹介/Introduction to an AI Agent for System Alert Investigation
taddy_919
2
1.9k
ファインディの横断SREがTakumi byGMOと取り組む、セキュリティと開発スピードの両立
rvirus0817
1
1.2k
こんなところでも(地味に)活躍するImage Modeさんを知ってるかい?- Image Mode for OpenShift -
tsukaman
0
110
サイボウズ 開発本部採用ピッチ / Cybozu Engineer Recruit
cybozuinsideout
PRO
10
73k
ClickHouseはどのように大規模データを活用したAIエージェントを全社展開しているのか
mikimatsumoto
0
200
(金融庁共催)第4回金融データ活用チャレンジ勉強会資料
takumimukaiyama
0
140
Featured
See All Featured
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
79
AI Search: Where Are We & What Can We Do About It?
aleyda
0
6.9k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
200
BBQ
matthewcrist
89
10k
A Tale of Four Properties
chriscoyier
162
24k
30 Presentation Tips
portentint
PRO
1
210
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
63
Darren the Foodie - Storyboard
khoart
PRO
2
2.3k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
1
1.3k
The Pragmatic Product Professional
lauravandoore
37
7.1k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2k
Transcript
xdebug Profiler
xdebug Profiler • What is this and what is it
good for? • Installation • Configuration • xdebug Profiler plugin • Analysers • Qcachegrind • Demo
xdebug Profiler What is this? • Build in extension of
debug • Helps finding performance leaks • Helps inspecting code execution
xdebug Profiler What is this? • Three major functions •
Monitor execution time of each and all methods called during one request • Visualise most consuming execution (Callee Map) • Visualise call history (Call Graph)
Installation • Part of xdebug (http://xdebug.org/) • Multiple ways to
install • Precompiled package for windows, PEAR/PECL, source
Configuration • Configuration within php.ini or php.d/xdebug.ini or any other
php.d/* script
Configuration remote profiling • Enable remote profiling debug.profiler_enable_trigger=1
• requires remote enabler • Recommend to use browser plugin xdebug enabler
Configuration cachegrind.out • Params for additional verbosity cachegrind.out.%R-%s-%t •
R $_SERVER[‘REQUEST_URI'] • s script name • t timestamp (seconds) • see http://xdebug.org/docs/ all_settings#trace_output_name for compete list
xdebug Profiler plugin • Easy to enable your profiling on
demand
Analysers • Platform/OS related analysers ported from kcachegrind • wincachegrind
• kcachegrind • qcachegrind • Further analysers • phpstrom (embedded plugin) • etc.
Analysers qcachegrind
Analysers qcachegrind • What should I take a closer look
at? • Time • Callee Map • Call Graph
Analysers qcachegrind • Demo