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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
What happened to RubyGems and what can we learn?
mikemcquaid
0
250
toCプロダクトにおけるAI機能開発のしくじりと学び / ai-product-failures-and-learnings
rince
6
5.5k
小さく始めるBCP ― 多プロダクト環境で始める最初の一歩
kekke_n
1
350
2026年、サーバーレスの現在地 -「制約と戦う技術」から「当たり前の実行基盤」へ- /serverless2026
slsops
2
210
Mosaic AI Gatewayでコーディングエージェントを配るための運用Tips / JEDAI 2026 新春 Meetup! AIコーディング特集
genda
0
150
15 years with Rails and DDD (AI Edition)
andrzejkrzywda
0
170
2026年はチャンキングを極める!
shibuiwilliam
9
1.9k
GitHub Issue Templates + Coding Agentで簡単みんなでIaC/Easy IaC for Everyone with GitHub Issue Templates + Coding Agent
aeonpeople
1
180
Sansan Engineering Unit 紹介資料
sansan33
PRO
1
3.8k
Databricks Free Edition講座 データサイエンス編
taka_aki
0
290
茨城の思い出を振り返る ~CDKのセキュリティを添えて~ / 20260201 Mitsutoshi Matsuo
shift_evolve
PRO
1
190
レガシー共有バッチ基盤への挑戦 - SREドリブンなリアーキテクチャリングの取り組み
tatsukoni
0
200
Featured
See All Featured
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
14k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
220
Git: the NoSQL Database
bkeepers
PRO
432
66k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
60
42k
Done Done
chrislema
186
16k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.7k
Building Adaptive Systems
keathley
44
2.9k
The agentic SEO stack - context over prompts
schlessera
0
630
Technical Leadership for Architectural Decision Making
baasie
1
240
Are puppies a ranking factor?
jonoalderson
1
2.7k
Ethics towards AI in product and experience design
skipperchong
2
190
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