Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
xdebug Profiler
Search
Peter Tilsen
June 23, 2015
Technology
56
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
xdebug Profiler
Short overview of xdebug profiler usage supported by qcachegrind
Peter Tilsen
June 23, 2015
More Decks by Peter Tilsen
See All by Peter Tilsen
Why did we choose to use GoLang
petertilsen
0
190
xdebug configuration
petertilsen
0
90
xdebug
petertilsen
0
83
Other Decks in Technology
See All in Technology
Persisting Massive Data with Rails ~Designing for 60 billion rows, and fighting the bottlenecks~ Railsで挑む大量データ永続化 〜600億件を永続化するための設計とボトルネックとの戦い〜
occhi
0
730
実践! SRE × AI - ABEMA における AIOps -
tetsuya28
8
3.1k
実体験から学ぶ分析エージェントの開発と運⽤
recruitengineers
PRO
8
2.4k
Claude の新機能を、 出た日に触って社内に届けるまで
rfdnxbro
1
170
Refining Active Record
shugo
0
150
PagerDuty Tech Hub-鳴らすけれど、人は動かない
ezaki
0
170
夫婦で子育てするための育児標準化
codmoninc
PRO
0
330
DWH の限界突破! AI エージェント向け爆速リアルタイムデータ基盤 ClickHouse
jozono
1
470
触りたくないデータに、どう触るか AI時代のRBACアクセスガバナンス
ivry_presentationmaterials
0
260
脆弱性診断って、何をしているの? 〜弱点を見つけて、会社の改善につなげるまで〜
keeg
0
920
AIカンパニーへの転換を支えた、エンジニアの仕事の再定義
kworkdev
PRO
2
1.2k
M5Stackで作る BLEマウス GPSログの世界
tomokusaba
0
420
Featured
See All Featured
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Typedesign – Prime Four
hannesfritz
42
3.2k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
Making Projects Easy
brettharned
120
6.8k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.1k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
260
How to train your dragon (web standard)
notwaldorf
96
6.9k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
120
120k
Designing for Timeless Needs
cassininazir
1
530
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