12 Eylül 2022 Pazartesi

IntelliJ Idea Profiling

Giriş
Açıklaması şöyle
Sometimes, unfortunately, a breakpoint is not enough and you need to use some more serious tools. Mostly those are tools used to detect memory leaks and high CPU usage. The Profiler in IntelliJ provides a lot of the functionalities that previously we needed external tools for.

You can open the Profiler pane through the View Menu|Tool Windows|Profiler or it might already be visible somewhere in the left|bottom|right corners. If there is a Java process running it will appear there.

The interesting bits are hidden in the context menu.
Profiler ile
1. CPU and Memory Live Charts
2. Capture Memory Snapshot
3. Get Thread Dump

işlemleri yapılabilir

Ayarlar
Açıklaması şöyle
IntelliJ IDEA 2022.3 comes with some important profile improvements. You can exclude native calls:
Şeklen şöyle


CPU and Memory Live Charts
Ulaşmak için menü şöyle

Karşımıza çıkan şey için açıklama şöyle
This will show you a timeline graph of the memory and CPU usage of the app while it’s running.

It can be very useful if you want to gauge where the app is at in terms of resource usage or detect any abnormal spikes or drops in either of those.
Şeklen şöyle

Capture Memory Snapshot
Şeklen şöyle










Hiç yorum yok:

Yorum Gönder