public interface IdePerformanceListener
Modifier and Type | Field and Description |
---|---|
static Topic<IdePerformanceListener> |
TOPIC |
Modifier and Type | Method and Description |
---|---|
default void |
dumpedThreads(java.io.File toFile,
ThreadDump dump)
Invoked after thread state has been dumped to a file.
|
default void |
uiFreezeFinished(int lengthInSeconds)
Deprecated.
|
default void |
uiFreezeFinished(long durationMs,
java.io.File reportDir)
Invoked after the UI has become responsive again following a
uiFreezeStarted() event. |
default void |
uiFreezeStarted()
Invoked when IDE has detected that the UI hasn't responded for some time (5 seconds by default)
|
default void |
uiResponded(long latencyMs)
Invoked on each UI response sampled every
performance.watcher.sampling.interval.ms set in the Registry. |
static final Topic<IdePerformanceListener> TOPIC
default void dumpedThreads(java.io.File toFile, ThreadDump dump)
default void uiFreezeStarted()
@Deprecated default void uiFreezeFinished(int lengthInSeconds)
uiFreezeFinished(long, File)
uiFreezeStarted()
event.lengthInSeconds
- approximate length in seconds of the interval that the IDE was unresponsivedefault void uiFreezeFinished(long durationMs, java.io.File reportDir)
uiFreezeStarted()
event.durationMs
- freeze duration in millisecondsreportDir
- folder where all freeze report data is collecteddefault void uiResponded(long latencyMs)
performance.watcher.sampling.interval.ms
set in the Registry.latencyMs
- time between scheduling a UI event and executing it, in milliseconds