Menu

#90 CPU consuming due to setFlashing(true)

open
nobody
None
5
2011-03-31
2011-03-31
Anonymous
No

Hello,

A flashing tool window consumes 25% of the CPU, notably under Linux.

Here is the corresponding code :
final ToolWindow consoleWindow = workbenchWindowManager.registerToolWindow("Console", "Console", icon, createConsole(), BOTTOM);
consoleWindow.setFlashing(true);

Switching from 'true' to 'false' shows a significant reduction of CPU usage.

Discussion

Auth0 Logo