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
Live Java Profiling
Search
Fabian Lange
November 07, 2012
Technology
990
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Live Java Profiling
Fabian Lange
November 07, 2012
Transcript
35 slides
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
More Decks by Fabian Lange
See All by Fabian Lange
Building a Kubernetes Operator in Quarkus
codingfabian
0
260
Building a Tech Startup Outside the Silicon Valley
codingfabian
0
160
How we process billions of metrics to make your microservices run smoothly
codingfabian
1
310
Predicting and Preventing Outages
codingfabian
0
210
Moderne Architekturen zeitgemäß überwachen und optimieren
codingfabian
0
190
Does My Profiler Tell The Truth - JavaZone & JavaOne 2015
codingfabian
1
2.6k
Web Performance Optimization
codingfabian
0
1.1k
Does My Profiler Tell The Truth?
codingfabian
1
4k
Garbage Collection Probleme Einfach Lösen
codingfabian
0
1.3k
Other Decks in Technology
See All in Technology
その修正で本当に速くなったのか? k6とOpenTelemetryで確かめる性能改善 / Performance review with k6 and OpenTelemetry
ymotongpoo
3
440
【Oracle AI SPOTLIGHT ウェビナー】AI時代、狙われるデータと止められない業務をどう守るか?
oracle4engineer
PRO
1
140
「個社」ではなく「業界」の課題を解く AI 対話開発 ー 価値を広げる設計と、価値を守るエンジニアリング ー
ivry_presentationmaterials
4
860
市販IoT機器や自作IoT機器とHomeAssistantを駆使して家の電気代をできる限り見える化する方法の考案
harutiro
0
410
統制されたID・権限をどう利用するか : DPoP/FAPIによるAPIセキュリティ強化
oidfj
2
290
落とし穴にハマってわかった 開発生産性を測るときに気をつけたいこと
munakata
3
490
[DBRE Summit 26] DBRE はデータベース運用をどう変えたのか
_awache
0
130
IoTのデータ保存をSREの観点で考える
grimoh
1
120
個人ASを取得して、自宅Kubernetes上のVMをグローバルIPで公開した話
munenick
0
230
[関西Kaggler会 20261113] 続・コミュニティコンペのススメ
nejumi
0
200
20261119_AgentCore
takuyay0ne
1
220
Taking back control of your AI development
inesmontani
PRO
0
310
Featured
See All Featured
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
580
Embracing the Ebb and Flow
colly
88
5.2k
How to train your dragon (web standard)
notwaldorf
96
6.9k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.5k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.6k
Faster Mobile Websites
deanohume
310
32k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
121
130k
The agentic SEO stack - context over prompts
schlessera
0
1k
Ethics towards AI in product and experience design
skipperchong
2
470
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
2
450
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
68
61k
GraphQLの誤解/rethinking-graphql
sonatard
75
12k