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
Live Java Profiling
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Fabian Lange
November 07, 2012
Technology
1
980
Live Java Profiling
Fabian Lange
November 07, 2012
Tweet
Share
More Decks by Fabian Lange
See All by Fabian Lange
Building a Kubernetes Operator in Quarkus
codingfabian
0
230
Building a Tech Startup Outside the Silicon Valley
codingfabian
0
130
How we process billions of metrics to make your microservices run smoothly
codingfabian
1
280
Predicting and Preventing Outages
codingfabian
0
170
Moderne Architekturen zeitgemäß überwachen und optimieren
codingfabian
0
170
Does My Profiler Tell The Truth - JavaZone & JavaOne 2015
codingfabian
1
2.5k
Web Performance Optimization
codingfabian
0
1.1k
Does My Profiler Tell The Truth?
codingfabian
1
3.9k
Garbage Collection Probleme Einfach Lösen
codingfabian
0
1.3k
Other Decks in Technology
See All in Technology
ZOZOにおけるAI活用の現在 ~開発組織全体での取り組みと試行錯誤~
zozotech
PRO
4
4.8k
クレジットカード決済基盤を支えるSRE - 厳格な監査とSRE運用の両立 (SRE Kaigi 2026)
capytan
6
2.5k
制約が導く迷わない設計 〜 信頼性と運用性を両立するマイナンバー管理システムの実践 〜
bwkw
2
850
CDKで始めるTypeScript開発のススメ
tsukuboshi
1
310
Sansan Engineering Unit 紹介資料
sansan33
PRO
1
3.8k
小さく始めるBCP ― 多プロダクト環境で始める最初の一歩
kekke_n
1
340
Data Hubグループ 紹介資料
sansan33
PRO
0
2.7k
プロダクト成長を支える開発基盤とスケールに伴う課題
yuu26
3
1.2k
ブロックテーマでサイトをリニューアルした話 / 2026-01-31 Kansai WordPress Meetup
torounit
0
440
2人で作ったAIダッシュボードが、開発組織の次の一手を照らした話― Cursor × SpecKit × 可視化の実践 ― Qiita AI Summit
noalisaai
1
370
プロポーザルに込める段取り八分
shoheimitani
0
160
データ民主化のための LLM 活用状況と課題紹介(IVRy の場合)
wxyzzz
2
660
Featured
See All Featured
Building Applications with DynamoDB
mza
96
6.9k
Accessibility Awareness
sabderemane
0
48
Designing for Performance
lara
610
70k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
200
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
72
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.3k
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
320
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.1k
A better future with KSS
kneath
240
18k
Testing 201, or: Great Expectations
jmmastey
46
8k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
180
Transcript
Live Java Profiling Fabian Lange
Haben wir ein Problem?
"WE SHOULD FORGET ABOUT SMALL EFFICIENCIES, SAY ABOUT 97% OF
THE TIME: PREMATURE OPTIMIZATION IS THE ROOT OF ALL EVIL" Donald Knuth (1974)
Wissen ist Macht
Die JVM als Informant
Der Profiler als Übersetzer
Profiler sind Nerds
Sprache der Profiler • Instrumentation • Sampling • Wall Clock
& CPU Time • Self & Cumulative • Allocation • Live & GCed • Hotspot
Pseudocode t main() foo() bar() baz()
Sampling t main() foo() bar() baz()
Sampling t main() foo() bar() baz()
Sampling t main() foo() bar()
None
Instrumentation t main() foo() bar() baz()
Instrumentation t main() foo() bar() baz()
PROFILERBAU https://github.com/CodingFabian/SamplingVsInstrumentation
https://blog.codecentric.de/en/2011/10/measure-java-performance- sampling-or-instrumentation/
http://www-plan.cs.colorado.edu/klipto/ http://bryanpendleton.blogspot.de/2010/08/improving-accuracy-of- java-profilers.html
REAL WORLD
ITEXT
None
ITEXT Analyse mit JProfiler
JBOSS RULES
None
JBOSS RULES Analyse mit JProfiler
VAADIN
None
VAADIN Analyse mit JProfiler
GLUSTER
None
-XX:+HeapDumpOnOutOfMemoryError
GLUSTER Analyse mit Eclipse MAT
Profiling Tipps • Mit Sampling starten • CPU – Hotspots
– Pfeil-Rechts • Speicher – Allocation Hotspots – Hohe Objektanzahl – Filter nach eigenem Package • Threads – Timeline – Dumps • Absolute / Relative Anzeige ausprobieren
PROFILING IST EINFACH
Kontakt • CodingFabian •
[email protected]
• blog.codecentric.de Folien auf speakerdeck.com/codingfabian