Page 1 of 1

Performance meter is a performance killer

Posted: Thu 27. Jun 2013, 06:27
by sechel
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.

Re: Performance meter is a performance killer

Posted: Thu 27. Jun 2013, 15:04
by benjamin.kutschan
ok, go ahead.

Re: Performance meter is a performance killer

Posted: Fri 28. Jun 2013, 17:11
by sechel
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);
}