Performance meter is a performance killer
Performance meter is a performance killer
The performance meter that is installed by default now causes the viewer on some systems to perform poorly. I opt here to disable this by default. Additionally, the code of this thing is not compatible to the modular plug-in based system. In an environment with more than one viewer strange things happen.
-
- Posts: 48
- Joined: Mon 16. May 2011, 16:29
Re: Performance meter is a performance killer
ok, go ahead.
Re: Performance meter is a performance killer
Ok, the real problem was that the InfoOverlayPlugin got installed from the View's install method. So whether or not is was registered it got installed. I changed the code at this place a litte to support a real choice of the programmer:
Code: Select all
if (!c.getPlugins(InfoOverlayPlugin.class).isEmpty()) {
// get only if controller explicitly installs the overlay
iop = c.getPlugin(InfoOverlayPlugin.class);
}