public class RenderPerformanceListener extends Object implements IComponentInstantiationListener
Behaviorthat measures the time needed by a component to render itself.
MarkupContainer's render includes the time for rendering its children so the time accumulates.
To enable this listener use the following in YourApplication.init():
|Constructor and Description|
|Modifier and Type||Method and Description|
Filters which components' render performance should be measured.
Called for every component that is instantiated.
public void onInstantiation(Component component)
protected boolean accepts(Component component)
component- the component that is instantiated
trueif render time should be measured the for this component,
Copyright © 2006–2021 Apache Software Foundation. All rights reserved.